home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Organization / Recipe2.0b / Recipe 2.0b next >
MacBinary  |  1994-04-30  |  178.5 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Recipe 2.0b

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Mon Jul 13 04:49:29 1992, modified Sat Apr 30 11:37:19 1994, creator HyperCard, type HyperCard stack, 161632 bytes "Recipe 2.0b" , at 0x277e0 20960 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 52 65 63 69 70 65 | 20 32 2e 30 62 00 00 00 |..Recipe| 2.0b...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 77 60 00 | 00 51 e0 a6 86 f4 19 a9 |.....w`.|.Q......|
|00000060| e8 2b af 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.+......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 28 4c 00 00 |........|....(L..|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 02 77 60 | 00 00 70 00 00 00 00 00 |......w`|..p.....|
|000000a0| 00 00 00 01 00 00 00 09 | 00 00 3b 96 00 00 00 34 |........|..;....4|
|000000b0| 00 00 11 60 00 00 16 47 | 00 00 00 00 00 00 00 00 |...`...G|........|
|000000c0| 00 00 19 4d 00 00 00 00 | 00 05 00 00 10 00 00 00 |...M....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |."......|........|
|000000f0| de 23 67 9f 00 00 00 00 | 00 82 01 40 01 b0 03 40 |.#g.....|...@...@|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0c e0 00 00 0b 7e | 01 2e 02 00 00 00 00 00 |.......~|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 2d 2d 2d |on openS|tack.---|
|00000690| 0d 2d 2d 73 65 74 20 75 | 70 20 47 6f 6f 64 69 65 |.--set u|p Goodie|
|000006a0| 73 20 6d 65 6e 75 62 61 | 72 0d 2d 2d 2d 0d 73 65 |s menuba|r.---.se|
|000006b0| 74 20 72 65 63 74 61 6e | 67 6c 65 20 6f 66 20 74 |t rectan|gle of t|
|000006c0| 68 69 73 20 63 61 72 64 | 20 74 6f 20 30 2c 30 2c |his card| to 0,0,|
|000006d0| 35 31 32 2c 33 30 32 20 | 2d 2d 66 6f 72 20 73 6d |512,302 |--for sm|
|000006e0| 61 6c 6c 20 73 63 72 65 | 65 6e 73 0d 73 65 74 20 |all scre|ens.set |
|000006f0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 63 |cursor t|o busy.c|
|00000700| 72 65 61 74 65 20 6d 65 | 6e 75 20 22 47 6f 6f 64 |reate me|nu "Good|
|00000710| 69 65 73 22 0d 70 75 74 | 20 22 49 6e 64 65 78 22 |ies".put| "Index"|
|00000720| 20 69 6e 74 6f 20 6d 65 | 6e 75 20 22 47 6f 6f 64 | into me|nu "Good|
|00000730| 69 65 73 22 20 77 69 74 | 68 20 6d 65 6e 75 4d 73 |ies" wit|h menuMs|
|00000740| 67 20 22 64 6f 49 6e 64 | 65 78 22 0d 73 65 74 20 |g "doInd|ex".set |
|00000750| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00000760| 65 6e 75 49 74 65 6d 20 | 22 49 6e 64 65 78 22 20 |enuItem |"Index" |
|00000770| 6f 66 20 6d 65 6e 75 20 | 22 47 6f 6f 64 69 65 73 |of menu |"Goodies|
|00000780| 22 20 74 6f 20 22 49 22 | 0d 0d 70 75 74 20 22 43 |" to "I"|..put "C|
|00000790| 6f 6e 76 65 72 73 69 6f | 6e 22 20 61 66 74 65 72 |onversio|n" after|
|000007a0| 20 6d 65 6e 75 20 22 47 | 6f 6f 64 69 65 73 22 20 | menu "G|oodies" |
|000007b0| 77 69 74 68 20 6d 65 6e | 75 4d 73 67 20 22 67 6f |with men|uMsg "go|
|000007c0| 20 63 61 72 64 20 43 6f | 6e 76 65 72 73 69 6f 6e | card Co|nversion|
|000007d0| 22 0d 73 65 74 20 63 6f | 6d 6d 61 6e 64 43 68 61 |".set co|mmandCha|
|000007e0| 72 20 6f 66 20 6d 65 6e | 75 49 74 65 6d 20 22 43 |r of men|uItem "C|
|000007f0| 6f 6e 76 65 72 73 69 6f | 6e 22 20 6f 66 20 6d 65 |onversio|n" of me|
|00000800| 6e 75 20 22 47 6f 6f 64 | 69 65 73 22 20 74 6f 20 |nu "Good|ies" to |
|00000810| 22 54 22 0d 0d 70 75 74 | 20 22 42 72 6f 77 73 65 |"T"..put| "Browse|
|00000820| 22 20 61 66 74 65 72 20 | 6d 65 6e 75 20 22 47 6f |" after |menu "Go|
|00000830| 6f 64 69 65 73 22 20 77 | 69 74 68 20 6d 65 6e 75 |odies" w|ith menu|
|00000840| 4d 73 67 20 22 67 6f 20 | 63 61 72 64 20 42 72 6f |Msg "go |card Bro|
|00000850| 77 73 65 22 0d 73 65 74 | 20 63 6f 6d 6d 61 6e 64 |wse".set| command|
|00000860| 43 68 61 72 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Char of |menuItem|
|00000870| 20 22 42 72 6f 77 73 65 | 22 20 6f 66 20 6d 65 6e | "Browse|" of men|
|00000880| 75 20 22 47 6f 6f 64 69 | 65 73 22 20 74 6f 20 22 |u "Goodi|es" to "|
|00000890| 42 22 0d 0d 2d 2d 20 20 | 70 75 74 20 22 4d 6f 76 |B"..-- |put "Mov|
|000008a0| 65 20 43 61 72 64 22 20 | 61 66 74 65 72 20 6d 65 |e Card" |after me|
|000008b0| 6e 75 20 22 47 6f 6f 64 | 69 65 73 22 20 77 69 74 |nu "Good|ies" wit|
|000008c0| 68 20 6d 65 6e 75 4d 73 | 67 20 22 4d 6f 76 65 43 |h menuMs|g "MoveC|
|000008d0| 61 72 64 22 0d 70 75 74 | 20 22 49 6e 66 6f 22 20 |ard".put| "Info" |
|000008e0| 61 66 74 65 72 20 6d 65 | 6e 75 20 22 47 6f 6f 64 |after me|nu "Good|
|000008f0| 69 65 73 22 20 77 69 74 | 68 20 6d 65 6e 75 4d 73 |ies" wit|h menuMs|
|00000900| 67 20 22 4f 70 65 6e 49 | 6e 66 6f 42 6f 78 22 0d |g "OpenI|nfoBox".|
|00000910| 70 75 74 20 22 4d 65 72 | 67 65 20 52 65 63 69 70 |put "Mer|ge Recip|
|00000920| 65 73 22 20 61 66 74 65 | 72 20 6d 65 6e 75 20 22 |es" afte|r menu "|
|00000930| 47 6f 6f 64 69 65 73 22 | 20 77 69 74 68 20 6d 65 |Goodies"| with me|
|00000940| 6e 75 4d 73 67 20 22 4d | 65 72 67 65 53 74 61 63 |nuMsg "M|ergeStac|
|00000950| 6b 73 22 0d 0d 69 66 20 | 74 68 65 20 6f 70 74 69 |ks"..if |the opti|
|00000960| 6f 6e 4b 65 79 20 69 73 | 20 64 6f 77 6e 20 74 68 |onKey is| down th|
|00000970| 65 6e 0d 70 75 74 20 22 | 55 73 65 72 4c 65 76 65 |en.put "|UserLeve|
|00000980| 6c 20 35 22 20 61 66 74 | 65 72 20 6d 65 6e 75 20 |l 5" aft|er menu |
|00000990| 22 47 6f 6f 64 69 65 73 | 22 20 77 69 74 68 20 6d |"Goodies|" with m|
|000009a0| 65 6e 75 4d 73 67 20 22 | 73 65 74 20 75 73 65 72 |enuMsg "|set user|
|000009b0| 6c 65 76 65 6c 20 74 6f | 20 35 22 0d 73 65 74 20 |level to| 5".set |
|000009c0| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|000009d0| 65 6e 75 49 74 65 6d 20 | 22 55 73 65 72 4c 65 76 |enuItem |"UserLev|
|000009e0| 65 6c 20 35 22 20 6f 66 | 20 6d 65 6e 75 20 22 47 |el 5" of| menu "G|
|000009f0| 6f 6f 64 69 65 73 22 20 | 74 6f 20 22 30 22 0d 65 |oodies" |to "0".e|
|00000a00| 6e 64 20 69 66 0d 0d 2d | 2d 2d 0d 2d 2d 2d 20 73 |nd if..-|--.--- s|
|00000a10| 65 74 20 75 70 20 66 72 | 61 63 74 69 6f 6e 73 20 |et up fr|actions |
|00000a20| 6d 65 6e 75 62 61 72 0d | 2d 2d 2d 0d 63 72 65 61 |menubar.|---.crea|
|00000a30| 74 65 20 6d 65 6e 75 20 | 22 46 72 61 63 74 69 6f |te menu |"Fractio|
|00000a40| 6e 73 22 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ns".set |cursor t|
|00000a50| 6f 20 62 75 73 79 0d 70 | 75 74 20 22 31 2f 34 2c |o busy.p|ut "1/4,|
|00000a60| 31 2f 32 2c 33 2f 34 2c | 31 2f 33 2c 32 2f 33 2c |1/2,3/4,|1/3,2/3,|
|00000a70| a1 2c c5 22 20 69 6e 74 | 6f 20 6d 65 6e 75 20 22 |.,." int|o menu "|
|00000a80| 46 72 61 63 74 69 6f 6e | 73 22 0d 73 65 74 20 6d |Fraction|s".set m|
|00000a90| 65 6e 75 4d 73 67 20 6f | 66 20 6d 65 6e 75 49 74 |enuMsg o|f menuIt|
|00000aa0| 65 6d 20 22 31 2f 34 22 | 20 6f 66 20 6d 65 6e 75 |em "1/4"| of menu|
|00000ab0| 20 22 46 72 61 63 74 69 | 6f 6e 73 22 20 74 6f 20 | "Fracti|ons" to |
|00000ac0| 22 64 6f 51 72 74 22 0d | 73 65 74 20 63 6f 6d 6d |"doQrt".|set comm|
|00000ad0| 61 6e 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |andChar |of menuI|
|00000ae0| 74 65 6d 20 22 31 2f 34 | 22 20 6f 66 20 6d 65 6e |tem "1/4|" of men|
|00000af0| 75 20 22 46 72 61 63 74 | 69 6f 6e 73 22 20 74 6f |u "Fract|ions" to|
|00000b00| 20 22 31 22 0d 73 65 74 | 20 6d 65 6e 75 4d 73 67 | "1".set| menuMsg|
|00000b10| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 31 2f | of menu|Item "1/|
|00000b20| 32 22 20 6f 66 20 6d 65 | 6e 75 20 22 46 72 61 63 |2" of me|nu "Frac|
|00000b30| 74 69 6f 6e 73 22 20 74 | 6f 20 22 64 6f 48 61 6c |tions" t|o "doHal|
|00000b40| 66 22 0d 73 65 74 20 63 | 6f 6d 6d 61 6e 64 43 68 |f".set c|ommandCh|
|00000b50| 61 72 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |ar of me|nuItem "|
|00000b60| 31 2f 32 22 20 6f 66 20 | 6d 65 6e 75 20 22 46 72 |1/2" of |menu "Fr|
|00000b70| 61 63 74 69 6f 6e 73 22 | 20 74 6f 20 22 32 22 0d |actions"| to "2".|
|00000b80| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|00000b90| 73 79 0d 73 65 74 20 6d | 65 6e 75 4d 73 67 20 6f |sy.set m|enuMsg o|
|00000ba0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 22 33 2f 34 22 |f menuIt|em "3/4"|
|00000bb0| 20 6f 66 20 6d 65 6e 75 | 20 22 46 72 61 63 74 69 | of menu| "Fracti|
|00000bc0| 6f 6e 73 22 20 74 6f 20 | 22 64 6f 54 46 22 0d 73 |ons" to |"doTF".s|
|00000bd0| 65 74 20 63 6f 6d 6d 61 | 6e 64 43 68 61 72 20 6f |et comma|ndChar o|
|00000be0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 22 33 2f 34 22 |f menuIt|em "3/4"|
|00000bf0| 20 6f 66 20 6d 65 6e 75 | 20 22 46 72 61 63 74 69 | of menu| "Fracti|
|00000c00| 6f 6e 73 22 20 74 6f 20 | 22 33 22 0d 73 65 74 20 |ons" to |"3".set |
|00000c10| 6d 65 6e 75 4d 73 67 20 | 6f 66 20 6d 65 6e 75 49 |menuMsg |of menuI|
|00000c20| 74 65 6d 20 22 31 2f 33 | 22 20 6f 66 20 6d 65 6e |tem "1/3|" of men|
|00000c30| 75 20 22 46 72 61 63 74 | 69 6f 6e 73 22 20 74 6f |u "Fract|ions" to|
|00000c40| 20 22 64 6f 54 72 64 22 | 0d 73 65 74 20 63 6f 6d | "doTrd"|.set com|
|00000c50| 6d 61 6e 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 |mandChar| of menu|
|00000c60| 49 74 65 6d 20 22 31 2f | 33 22 20 6f 66 20 6d 65 |Item "1/|3" of me|
|00000c70| 6e 75 20 22 46 72 61 63 | 74 69 6f 6e 73 22 20 74 |nu "Frac|tions" t|
|00000c80| 6f 20 22 34 22 0d 73 65 | 74 20 6d 65 6e 75 4d 73 |o "4".se|t menuMs|
|00000c90| 67 20 6f 66 20 6d 65 6e | 75 49 74 65 6d 20 22 32 |g of men|uItem "2|
|00000ca0| 2f 33 22 20 6f 66 20 6d | 65 6e 75 20 22 46 72 61 |/3" of m|enu "Fra|
|00000cb0| 63 74 69 6f 6e 73 22 20 | 74 6f 20 22 64 6f 54 54 |ctions" |to "doTT|
|00000cc0| 72 64 22 0d 73 65 74 20 | 63 6f 6d 6d 61 6e 64 43 |rd".set |commandC|
|00000cd0| 68 61 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |har of m|enuItem |
|00000ce0| 22 32 2f 33 22 20 6f 66 | 20 6d 65 6e 75 20 22 46 |"2/3" of| menu "F|
|00000cf0| 72 61 63 74 69 6f 6e 73 | 22 20 74 6f 20 22 35 22 |ractions|" to "5"|
|00000d00| 0d 73 65 74 20 6d 65 6e | 75 4d 73 67 20 6f 66 20 |.set men|uMsg of |
|00000d10| 6d 65 6e 75 49 74 65 6d | 20 22 a1 22 20 6f 66 20 |menuItem| "." of |
|00000d20| 6d 65 6e 75 20 22 46 72 | 61 63 74 69 6f 6e 73 22 |menu "Fr|actions"|
|00000d30| 20 74 6f 20 22 64 6f 64 | 65 67 22 0d 73 65 74 20 | to "dod|eg".set |
|00000d40| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00000d50| 65 6e 75 49 74 65 6d 20 | 22 a1 22 20 6f 66 20 6d |enuItem |"." of m|
|00000d60| 65 6e 75 20 22 46 72 61 | 63 74 69 6f 6e 73 22 20 |enu "Fra|ctions" |
|00000d70| 74 6f 20 22 36 22 0d 73 | 65 74 20 6d 65 6e 75 4d |to "6".s|et menuM|
|00000d80| 73 67 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |sg of me|nuItem "|
|00000d90| c5 22 20 6f 66 20 6d 65 | 6e 75 20 22 46 72 61 63 |." of me|nu "Frac|
|00000da0| 74 69 6f 6e 73 22 20 74 | 6f 20 22 64 6f 61 70 72 |tions" t|o "doapr|
|00000db0| 6f 78 22 0d 73 65 74 20 | 63 6f 6d 6d 61 6e 64 43 |ox".set |commandC|
|00000dc0| 68 61 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |har of m|enuItem |
|00000dd0| 22 c5 22 20 6f 66 20 6d | 65 6e 75 20 22 46 72 61 |"." of m|enu "Fra|
|00000de0| 63 74 69 6f 6e 73 22 20 | 74 6f 20 22 37 22 0d 0d |ctions" |to "7"..|
|00000df0| 0d 69 66 20 76 69 73 69 | 62 6c 65 20 6f 66 20 63 |.if visi|ble of c|
|00000e00| 64 20 66 6c 64 20 49 6e | 66 6f 42 6f 78 20 6f 66 |d fld In|foBox of|
|00000e10| 20 63 61 72 64 20 69 6e | 64 65 78 20 74 68 65 6e | card in|dex then|
|00000e20| 20 70 75 73 68 20 63 61 | 72 64 20 69 6e 64 65 78 | push ca|rd index|
|00000e30| 0d 73 65 74 20 75 73 65 | 72 6c 65 76 65 6c 20 74 |.set use|rlevel t|
|00000e40| 6f 20 32 0d 65 6e 64 20 | 6f 70 65 6e 53 74 61 63 |o 2.end |openStac|
|00000e50| 6b 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |k..on cl|oseStack|
|00000e60| 0d 2d 2d 20 20 61 6e 73 | 77 65 72 20 22 44 6f 20 |.-- ans|wer "Do |
|00000e70| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 63 6f 6d 70 |you want| to comp|
|00000e80| 61 63 74 20 74 68 65 20 | 73 74 61 63 6b 22 20 77 |act the |stack" w|
|00000e90| 69 74 68 20 22 59 65 73 | 22 20 6f 72 20 22 4e 6f |ith "Yes|" or "No|
|00000ea0| 22 0d 2d 2d 20 20 69 66 | 20 69 74 20 69 73 20 22 |".-- if| it is "|
|00000eb0| 59 65 73 22 20 74 68 65 | 6e 0d 2d 2d 20 20 20 20 |Yes" the|n.-- |
|00000ec0| 64 6f 6d 65 6e 75 20 22 | 63 6f 6d 70 61 63 74 20 |domenu "|compact |
|00000ed0| 73 74 61 63 6b 22 0d 2d | 2d 20 20 65 6e 64 20 69 |stack".-|- end i|
|00000ee0| 66 0d 0d 72 65 73 65 74 | 20 6d 65 6e 75 62 61 72 |f..reset| menubar|
|00000ef0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00000f00| 69 6e 64 6f 77 20 22 6e | 61 76 69 67 61 74 6f 72 |indow "n|avigator|
|00000f10| 22 20 74 68 65 6e 20 73 | 65 6e 64 20 22 63 6c 6f |" then s|end "clo|
|00000f20| 73 65 22 20 74 6f 20 77 | 69 6e 64 6f 77 20 22 6e |se" to w|indow "n|
|00000f30| 61 76 69 67 61 74 6f 72 | 22 0d 65 6e 64 20 63 6c |avigator|".end cl|
|00000f40| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 72 65 73 |oseStack|..on res|
|00000f50| 75 6d 65 53 74 61 63 6b | 0d 6f 70 65 6e 53 74 61 |umeStack|.openSta|
|00000f60| 63 6b 0d 65 6e 64 20 72 | 65 73 75 6d 65 53 74 61 |ck.end r|esumeSta|
|00000f70| 63 6b 0d 0d 6f 6e 20 64 | 6f 49 6e 64 65 78 0d 76 |ck..on d|oIndex.v|
|00000f80| 69 73 75 61 6c 20 65 66 | 66 65 63 74 20 73 63 72 |isual ef|fect scr|
|00000f90| 6f 6c 6c 20 64 6f 77 6e | 20 66 61 73 74 0d 67 6f |oll down| fast.go|
|00000fa0| 20 63 61 72 64 20 22 49 | 6e 64 65 78 22 0d 65 6e | card "I|ndex".en|
|00000fb0| 64 20 64 6f 49 6e 64 65 | 78 0d 0d 6f 6e 20 73 75 |d doInde|x..on su|
|00000fc0| 73 70 65 6e 64 53 74 61 | 63 6b 0d 63 6c 6f 73 65 |spendSta|ck.close|
|00000fd0| 53 74 61 63 6b 0d 65 6e | 64 20 73 75 73 70 65 6e |Stack.en|d suspen|
|00000fe0| 64 53 74 61 63 6b 0d 0d | 2d 2d 2d 0d 2d 2d 46 72 |dStack..|---.--Fr|
|00000ff0| 61 63 74 69 6f 6e 20 6d | 65 6e 75 20 4f 75 74 70 |action m|enu Outp|
|00001000| 75 74 0d 2d 2d 2d 0d 6f | 6e 20 64 6f 51 72 74 0d |ut.---.o|n doQrt.|
|00001010| 69 66 20 73 65 6c 65 63 | 74 65 64 4c 69 6e 65 28 |if selec|tedLine(|
|00001020| 29 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |) is not| empty t|
|00001030| 68 65 6e 20 70 75 74 20 | 22 31 2f 34 22 20 61 66 |hen put |"1/4" af|
|00001040| 74 65 72 20 73 65 6c 65 | 63 74 69 6f 6e 0d 65 6e |ter sele|ction.en|
|00001050| 64 20 64 6f 51 72 74 0d | 0d 0d 6f 6e 20 64 6f 48 |d doQrt.|..on doH|
|00001060| 61 6c 66 0d 69 66 20 73 | 65 6c 65 63 74 65 64 4c |alf.if s|electedL|
|00001070| 69 6e 65 28 29 20 69 73 | 20 6e 6f 74 20 65 6d 70 |ine() is| not emp|
|00001080| 74 79 20 74 68 65 6e 20 | 70 75 74 20 22 31 2f 32 |ty then |put "1/2|
|00001090| 22 20 61 66 74 65 72 20 | 73 65 6c 65 63 74 69 6f |" after |selectio|
|000010a0| 6e 0d 65 6e 64 20 64 6f | 48 61 6c 66 0d 0d 6f 6e |n.end do|Half..on|
|000010b0| 20 64 6f 54 46 0d 69 66 | 20 73 65 6c 65 63 74 65 | doTF.if| selecte|
|000010c0| 64 4c 69 6e 65 28 29 20 | 69 73 20 6e 6f 74 20 65 |dLine() |is not e|
|000010d0| 6d 70 74 79 20 74 68 65 | 6e 20 70 75 74 20 22 33 |mpty the|n put "3|
|000010e0| 2f 34 22 20 61 66 74 65 | 72 20 73 65 6c 65 63 74 |/4" afte|r select|
|000010f0| 69 6f 6e 0d 65 6e 64 20 | 64 6f 54 46 0d 0d 6f 6e |ion.end |doTF..on|
|00001100| 20 64 6f 54 72 64 0d 69 | 66 20 73 65 6c 65 63 74 | doTrd.i|f select|
|00001110| 65 64 4c 69 6e 65 28 29 | 20 69 73 20 6e 6f 74 20 |edLine()| is not |
|00001120| 65 6d 70 74 79 20 74 68 | 65 6e 20 70 75 74 20 22 |empty th|en put "|
|00001130| 31 2f 33 22 20 61 66 74 | 65 72 20 73 65 6c 65 63 |1/3" aft|er selec|
|00001140| 74 69 6f 6e 0d 65 6e 64 | 20 64 6f 54 72 64 0d 0d |tion.end| doTrd..|
|00001150| 6f 6e 20 64 6f 54 54 72 | 64 0d 69 66 20 73 65 6c |on doTTr|d.if sel|
|00001160| 65 63 74 65 64 4c 69 6e | 65 28 29 20 69 73 20 6e |ectedLin|e() is n|
|00001170| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |ot empty| then pu|
|00001180| 74 20 22 32 2f 33 22 20 | 61 66 74 65 72 20 73 65 |t "2/3" |after se|
|00001190| 6c 65 63 74 69 6f 6e 0d | 65 6e 64 20 64 6f 54 54 |lection.|end doTT|
|000011a0| 72 64 0d 0d 6f 6e 20 64 | 6f 64 65 67 0d 69 66 20 |rd..on d|odeg.if |
|000011b0| 73 65 6c 65 63 74 65 64 | 4c 69 6e 65 28 29 20 69 |selected|Line() i|
|000011c0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000011d0| 20 70 75 74 20 22 a1 22 | 20 61 66 74 65 72 20 73 | put "."| after s|
|000011e0| 65 6c 65 63 74 69 6f 6e | 0d 65 6e 64 20 64 6f 64 |election|.end dod|
|000011f0| 65 67 0d 0d 6f 6e 20 64 | 6f 61 70 72 6f 78 0d 69 |eg..on d|oaprox.i|
|00001200| 66 20 73 65 6c 65 63 74 | 65 64 4c 69 6e 65 28 29 |f select|edLine()|
|00001210| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00001220| 65 6e 20 70 75 74 20 22 | c5 22 20 61 66 74 65 72 |en put "|." after|
|00001230| 20 73 65 6c 65 63 74 69 | 6f 6e 0d 65 6e 64 20 64 | selecti|on.end d|
|00001240| 6f 61 70 72 6f 78 0d 0d | 0d 0d 6f 6e 20 64 6f 4d |oaprox..|..on doM|
|00001250| 65 6e 75 20 4d 65 6e 75 | 49 74 65 6d 0d 69 66 20 |enu Menu|Item.if |
|00001260| 4d 65 6e 75 49 74 65 6d | 20 69 73 20 22 44 65 6c |MenuItem| is "Del|
|00001270| 65 74 65 20 43 61 72 64 | 22 20 74 68 65 6e 0d 69 |ete Card|" then.i|
|00001280| 66 20 74 68 65 20 6f 70 | 74 69 6f 6e 6b 65 79 20 |f the op|tionkey |
|00001290| 69 73 20 64 6f 77 6e 20 | 74 68 65 6e 0d 61 6e 73 |is down |then.ans|
|000012a0| 77 65 72 20 22 44 45 4c | 45 54 45 20 45 4e 54 49 |wer "DEL|ETE ENTI|
|000012b0| 52 45 20 43 4f 4c 4c 45 | 43 54 49 4f 4e 20 4f 46 |RE COLLE|CTION OF|
|000012c0| 20 52 45 43 49 50 45 53 | 21 21 22 20 77 69 74 68 | RECIPES|!!" with|
|000012d0| 20 22 44 45 4c 45 54 45 | 22 2c 20 22 6e 6f 22 0d | "DELETE|", "no".|
|000012e0| 69 66 20 69 74 20 69 73 | 20 22 44 45 4c 45 54 45 |if it is| "DELETE|
|000012f0| 22 20 74 68 65 6e 0d 64 | 6f 20 6d 61 6b 65 56 69 |" then.d|o makeVi|
|00001300| 72 67 69 6e 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |rgin.end| if.else|
|00001310| 0d 61 6e 73 77 65 72 20 | 22 41 72 65 20 79 6f 75 |.answer |"Are you|
|00001320| 20 73 75 72 65 20 79 6f | 75 20 77 61 6e 74 20 74 | sure yo|u want t|
|00001330| 6f 20 64 65 6c 65 74 65 | 3f 22 20 77 69 74 68 20 |o delete|?" with |
|00001340| 22 4e 6f 22 20 6f 72 20 | 22 59 65 73 22 0d 69 66 |"No" or |"Yes".if|
|00001350| 20 69 74 20 3d 20 22 59 | 65 73 22 20 74 68 65 6e | it = "Y|es" then|
|00001360| 0d 69 66 20 63 61 6e 74 | 44 65 6c 65 74 65 20 6f |.if cant|Delete o|
|00001370| 66 20 74 68 69 73 20 63 | 61 72 64 20 69 73 20 74 |f this c|ard is t|
|00001380| 72 75 65 20 74 68 65 6e | 0d 69 66 20 74 68 65 20 |rue then|.if the |
|00001390| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6e 65 78 74 |name of |the next|
|000013a0| 20 63 61 72 64 20 69 73 | 20 6e 6f 74 20 74 68 65 | card is| not the|
|000013b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 61 | name of| this ca|
|000013c0| 72 64 20 74 68 65 6e 0d | 64 6f 20 52 65 6d 6f 76 |rd then.|do Remov|
|000013d0| 65 4e 61 6d 65 46 72 6f | 6d 4d 65 6e 75 0d 64 6f |eNameFro|mMenu.do|
|000013e0| 43 6c 65 61 72 43 61 72 | 64 0d 65 6c 73 65 0d 73 |ClearCar|d.else.s|
|000013f0| 65 74 20 63 61 6e 74 44 | 65 6c 65 74 65 20 6f 66 |et cantD|elete of|
|00001400| 20 74 68 69 73 20 63 61 | 72 64 20 74 6f 20 66 61 | this ca|rd to fa|
|00001410| 6c 73 65 20 2d 2d 20 64 | 65 6c 65 74 65 73 20 61 |lse -- d|eletes a|
|00001420| 20 70 6c 61 63 65 20 68 | 6f 6c 64 65 72 20 63 61 | place h|older ca|
|00001430| 72 64 0d 73 65 74 20 63 | 61 6e 74 44 65 6c 65 74 |rd.set c|antDelet|
|00001440| 65 20 6f 66 20 74 68 65 | 20 6e 65 78 74 20 63 61 |e of the| next ca|
|00001450| 72 64 20 74 6f 20 74 72 | 75 65 20 2d 2d 20 6f 6e |rd to tr|ue -- on|
|00001460| 6c 79 20 69 66 20 74 68 | 65 20 6e 65 78 74 20 63 |ly if th|e next c|
|00001470| 61 72 64 20 63 61 6e 20 | 73 75 62 73 74 69 74 75 |ard can |substitu|
|00001480| 74 65 20 61 73 20 61 20 | 70 6c 61 63 65 20 68 6f |te as a |place ho|
|00001490| 6c 64 65 72 0d 69 66 20 | 62 6b 67 6e 64 20 66 6c |lder.if |bkgnd fl|
|000014a0| 64 20 22 52 65 63 69 70 | 65 22 20 69 73 20 6e 6f |d "Recip|e" is no|
|000014b0| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 20 2d 2d 69 |t empty |then --i|
|000014c0| 66 20 74 69 74 6c 65 20 | 69 73 20 61 6c 72 65 61 |f title |is alrea|
|000014d0| 64 79 20 67 6f 6e 65 2c | 20 6e 6f 20 70 6f 70 74 |dy gone,| no popt|
|000014e0| 61 62 20 75 70 64 61 74 | 65 20 6f 6e 20 63 6c 6f |ab updat|e on clo|
|000014f0| 73 65 20 63 61 72 64 0d | 70 75 74 20 65 6d 70 74 |se card.|put empt|
|00001500| 79 20 69 6e 74 6f 20 62 | 6b 67 6e 64 20 66 6c 64 |y into b|kgnd fld|
|00001510| 20 52 65 63 69 70 65 0d | 64 6f 20 52 65 6d 6f 76 | Recipe.|do Remov|
|00001520| 65 4e 61 6d 65 46 72 6f | 6d 4d 65 6e 75 0d 65 6e |eNameFro|mMenu.en|
|00001530| 64 20 69 66 0d 73 65 74 | 20 63 61 6e 74 44 65 6c |d if.set| cantDel|
|00001540| 65 74 65 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ete of t|his card|
|00001550| 20 74 6f 20 66 61 6c 73 | 65 20 2d 2d 20 64 65 6c | to fals|e -- del|
|00001560| 65 74 65 73 20 61 20 70 | 6c 61 63 65 20 68 6f 6c |etes a p|lace hol|
|00001570| 64 65 72 20 63 61 72 64 | 0d 73 65 74 20 63 61 6e |der card|.set can|
|00001580| 74 44 65 6c 65 74 65 20 | 6f 66 20 74 68 65 20 6e |tDelete |of the n|
|00001590| 65 78 74 20 63 61 72 64 | 20 74 6f 20 74 72 75 65 |ext card| to true|
|000015a0| 20 2d 2d 20 6f 6e 6c 79 | 20 69 66 20 74 68 65 20 | -- only| if the |
|000015b0| 6e 65 78 74 20 63 61 72 | 64 20 63 61 6e 20 73 75 |next car|d can su|
|000015c0| 62 73 74 69 74 75 74 65 | 20 61 73 20 61 20 70 6c |bstitute| as a pl|
|000015d0| 61 63 65 20 68 6f 6c 64 | 65 72 0d 70 75 74 20 74 |ace hold|er.put t|
|000015e0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000015f0| 20 74 68 69 73 20 63 61 | 72 64 20 69 6e 74 6f 20 | this ca|rd into |
|00001600| 63 61 72 64 4e 61 6d 65 | 0d 69 66 20 6c 65 6e 67 |cardName|.if leng|
|00001610| 74 68 20 6f 66 20 63 61 | 72 64 4e 61 6d 65 20 3c |th of ca|rdName <|
|00001620| 20 38 20 74 68 65 6e 0d | 70 75 74 20 63 68 61 72 | 8 then.|put char|
|00001630| 20 37 20 6f 66 20 63 61 | 72 64 4e 61 6d 65 20 69 | 7 of ca|rdName i|
|00001640| 6e 74 6f 20 42 61 73 65 | 4e 75 6d 62 65 72 0d 65 |nto Base|Number.e|
|00001650| 6c 73 65 0d 70 75 74 20 | 63 68 61 72 20 37 20 74 |lse.put |char 7 t|
|00001660| 6f 20 38 20 6f 66 20 63 | 61 72 64 4e 61 6d 65 20 |o 8 of c|ardName |
|00001670| 69 6e 74 6f 20 42 61 73 | 65 4e 75 6d 62 65 72 0d |into Bas|eNumber.|
|00001680| 65 6e 64 20 69 66 0d 70 | 75 74 20 74 68 65 20 69 |end if.p|ut the i|
|00001690| 64 20 6f 66 20 74 68 65 | 20 6e 65 78 74 20 63 61 |d of the| next ca|
|000016a0| 72 64 20 69 6e 74 6f 20 | 6c 69 6e 65 20 42 61 73 |rd into |line Bas|
|000016b0| 65 4e 75 6d 62 65 72 20 | 6f 66 20 63 64 20 66 6c |eNumber |of cd fl|
|000016c0| 64 20 49 44 73 4f 66 52 | 65 63 69 70 65 20 6f 66 |d IDsOfR|ecipe of|
|000016d0| 20 63 64 20 63 6f 6e 76 | 65 72 73 69 6f 6e 2d 2d | cd conv|ersion--|
|000016e0| 6d 61 6b 65 20 6e 65 77 | 20 70 6c 61 63 65 20 68 |make new| place h|
|000016f0| 6f 6c 64 65 72 0d 70 61 | 73 73 20 64 6f 4d 65 6e |older.pa|ss doMen|
|00001700| 75 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 68 69 |u.end if|.else.hi|
|00001710| 64 65 20 63 64 20 62 74 | 6e 20 22 55 70 64 61 74 |de cd bt|n "Updat|
|00001720| 65 20 49 6e 64 65 78 22 | 20 6f 66 20 43 61 72 64 |e Index"| of Card|
|00001730| 20 22 49 6e 64 65 78 22 | 0d 69 66 20 62 6b 67 6e | "Index"|.if bkgn|
|00001740| 64 20 66 6c 64 20 22 52 | 65 63 69 70 65 22 20 69 |d fld "R|ecipe" i|
|00001750| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00001760| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001770| 62 6b 67 6e 64 20 66 6c | 64 20 52 65 63 69 70 65 |bkgnd fl|d Recipe|
|00001780| 20 2d 2d 77 68 65 6e 20 | 74 69 74 6c 65 20 69 73 | --when |title is|
|00001790| 20 67 6f 6e 65 2c 20 6e | 6f 20 70 6f 70 74 61 62 | gone, n|o poptab|
|000017a0| 20 75 70 64 61 74 65 20 | 6f 6e 20 63 6c 6f 73 65 | update |on close|
|000017b0| 20 63 61 72 64 0d 64 6f | 20 52 65 6d 6f 76 65 4e | card.do| RemoveN|
|000017c0| 61 6d 65 46 72 6f 6d 4d | 65 6e 75 0d 70 61 73 73 |ameFromM|enu.pass|
|000017d0| 20 64 6f 4d 65 6e 75 0d | 65 6c 73 65 20 70 61 73 | doMenu.|else pas|
|000017e0| 73 20 64 6f 4d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |s doMenu|.end if.|
|000017f0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 0d 65 |end if.e|nd if..e|
|00001800| 6c 73 65 20 69 66 20 4d | 65 6e 75 49 74 65 6d 20 |lse if M|enuItem |
|00001810| 69 73 20 22 4e 65 77 20 | 43 61 72 64 22 20 74 68 |is "New |Card" th|
|00001820| 65 6e 20 64 6f 4e 65 77 | 43 61 72 64 0d 65 6c 73 |en doNew|Card.els|
|00001830| 65 20 69 66 20 4d 65 6e | 75 49 74 65 6d 20 69 73 |e if Men|uItem is|
|00001840| 20 22 46 69 6e 64 2e 2e | 2e 22 20 61 6e 64 20 6e | "Find..|." and n|
|00001850| 6f 74 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 6f |ot the v|isible o|
|00001860| 66 20 63 64 20 62 74 6e | 20 22 63 6d 64 2d 46 20 |f cd btn| "cmd-F |
|00001870| 6e 6f 77 20 46 69 6e 64 | 73 22 20 6f 66 20 63 64 |now Find|s" of cd|
|00001880| 20 42 72 6f 77 73 65 20 | 74 68 65 6e 0d 64 6f 20 | Browse |then.do |
|00001890| 42 72 6f 77 73 65 0d 0d | 65 6c 73 65 20 69 66 20 |Browse..|else if |
|000018a0| 4d 65 6e 75 49 74 65 6d | 20 69 73 20 22 50 72 69 |MenuItem| is "Pri|
|000018b0| 6e 74 20 43 61 72 64 22 | 20 74 68 65 6e 0d 69 66 |nt Card"| then.if|
|000018c0| 20 69 64 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 | id of t|his card|
|000018d0| 20 3d 20 69 64 20 6f 66 | 20 63 61 72 64 20 69 6e | = id of| card in|
|000018e0| 64 65 78 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |dex then|.answer |
|000018f0| 22 50 72 69 6e 74 20 72 | 65 63 69 70 65 20 74 69 |"Print r|ecipe ti|
|00001900| 74 6c 65 73 20 6f 72 20 | 72 65 63 69 70 65 73 20 |tles or |recipes |
|00001910| 6c 69 73 74 65 64 20 69 | 6e 20 74 68 69 73 20 69 |listed i|n this i|
|00001920| 6e 64 65 78 3f 22 20 77 | 69 74 68 20 63 61 6e 63 |ndex?" w|ith canc|
|00001930| 65 6c 2c 74 69 74 6c 65 | 73 2c 20 72 65 63 69 70 |el,title|s, recip|
|00001940| 65 73 0d 69 66 20 69 74 | 20 69 73 20 22 74 69 74 |es.if it| is "tit|
|00001950| 6c 65 73 22 20 74 68 65 | 6e 0d 69 66 20 63 64 20 |les" the|n.if cd |
|00001960| 66 6c 64 20 69 6e 64 65 | 78 4c 69 73 74 20 69 73 |fld inde|xList is|
|00001970| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 61 6e 73 77 | empty t|hen.answ|
|00001980| 65 72 20 22 49 6e 64 65 | 78 20 69 73 20 65 6d 70 |er "Inde|x is emp|
|00001990| 74 79 2c 20 6e 6f 74 68 | 69 6e 67 20 77 69 6c 6c |ty, noth|ing will|
|000019a0| 20 62 65 20 70 72 69 6e | 74 65 64 2e 22 20 77 69 | be prin|ted." wi|
|000019b0| 74 68 20 6f 6b 61 79 0d | 65 6c 73 65 0d 70 72 69 |th okay.|else.pri|
|000019c0| 6e 74 20 63 64 20 66 6c | 64 20 69 6e 64 65 78 6c |nt cd fl|d indexl|
|000019d0| 69 73 74 0d 65 6e 64 20 | 69 66 0d 65 6c 73 65 20 |ist.end |if.else |
|000019e0| 69 66 20 69 74 20 69 73 | 20 22 72 65 63 69 70 65 |if it is| "recipe|
|000019f0| 73 22 20 74 68 65 6e 0d | 64 6f 20 50 72 69 6e 74 |s" then.|do Print|
|00001a00| 49 6e 64 65 78 0d 65 6e | 64 20 69 66 0d 65 6c 73 |Index.en|d if.els|
|00001a10| 65 20 69 66 20 63 68 61 | 72 20 37 20 74 6f 20 31 |e if cha|r 7 to 1|
|00001a20| 32 20 6f 66 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |2 of nam|e of thi|
|00001a30| 73 20 63 61 72 64 20 69 | 73 20 22 72 65 63 69 70 |s card i|s "recip|
|00001a40| 65 22 20 74 68 65 6e 0d | 69 66 20 62 6b 67 6e 64 |e" then.|if bkgnd|
|00001a50| 20 66 6c 64 20 52 65 63 | 69 70 65 20 69 73 20 6e | fld Rec|ipe is n|
|00001a60| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 6f 70 |ot empty| then.op|
|00001a70| 65 6e 20 72 65 70 6f 72 | 74 20 70 72 69 6e 74 69 |en repor|t printi|
|00001a80| 6e 67 0d 70 72 69 6e 74 | 20 74 68 69 73 20 63 61 |ng.print| this ca|
|00001a90| 72 64 0d 63 6c 6f 73 65 | 20 70 72 69 6e 74 69 6e |rd.close| printin|
|00001aa0| 67 0d 65 6c 73 65 20 61 | 6e 73 77 65 72 20 22 54 |g.else a|nswer "T|
|00001ab0| 68 65 72 65 20 69 73 20 | 6e 6f 20 74 69 74 6c 65 |here is |no title|
|00001ac0| 20 74 6f 20 74 68 69 73 | 20 72 65 63 69 70 65 2e | to this| recipe.|
|00001ad0| 22 20 77 69 74 68 20 22 | 48 61 6c 74 20 50 72 69 |" with "|Halt Pri|
|00001ae0| 6e 74 69 6e 67 22 0d 65 | 6c 73 65 0d 61 6e 73 77 |nting".e|lse.answ|
|00001af0| 65 72 20 22 53 6f 72 72 | 79 2c 20 79 6f 75 20 63 |er "Sorr|y, you c|
|00001b00| 61 6e 27 74 20 70 72 69 | 6e 74 20 74 68 69 73 20 |an't pri|nt this |
|00001b10| 63 61 72 64 2e 22 20 77 | 69 74 68 20 6f 6b 61 79 |card." w|ith okay|
|00001b20| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 70 61 73 |.end if.|else.pas|
|00001b30| 73 20 64 6f 4d 65 6e 75 | 0d 65 6e 64 20 69 66 0d |s doMenu|.end if.|
|00001b40| 65 6e 64 20 64 6f 6d 65 | 6e 75 0d 0d 0d 0d 6f 6e |end dome|nu....on|
|00001b50| 20 64 6f 43 6c 65 61 72 | 43 61 72 64 0d 69 66 20 | doClear|Card.if |
|00001b60| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00001b70| 69 73 20 63 61 72 64 20 | 69 73 20 6e 6f 74 20 22 |is card |is not "|
|00001b80| 49 6e 64 65 78 22 20 61 | 6e 64 20 74 68 65 20 73 |Index" a|nd the s|
|00001b90| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00001ba0| 73 20 63 61 72 64 20 69 | 73 20 6e 6f 74 20 22 43 |s card i|s not "C|
|00001bb0| 6f 6e 76 65 72 73 69 6f | 6e 22 20 74 68 65 6e 0d |onversio|n" then.|
|00001bc0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 62 |put empt|y into b|
|00001bd0| 6b 67 6e 64 20 66 69 65 | 6c 64 20 22 52 65 63 69 |kgnd fie|ld "Reci|
|00001be0| 70 65 22 0d 70 75 74 20 | 22 49 6e 67 72 65 64 69 |pe".put |"Ingredi|
|00001bf0| 65 6e 74 73 3a 22 20 26 | 20 52 45 54 55 52 4e 20 |ents:" &| RETURN |
|00001c00| 69 6e 74 6f 20 62 6b 67 | 6e 64 20 66 69 65 6c 64 |into bkg|nd field|
|00001c10| 20 22 49 6e 67 72 65 64 | 69 61 6e 74 73 22 0d 70 | "Ingred|iants".p|
|00001c20| 75 74 20 22 44 69 72 65 | 63 74 69 6f 6e 73 3a 22 |ut "Dire|ctions:"|
|00001c30| 20 26 20 52 45 54 55 52 | 4e 20 69 6e 74 6f 20 62 | & RETUR|N into b|
|00001c40| 6b 67 6e 64 20 66 69 65 | 6c 64 20 22 44 69 72 65 |kgnd fie|ld "Dire|
|00001c50| 63 74 69 6f 6e 73 22 0d | 70 75 74 20 65 6d 70 74 |ctions".|put empt|
|00001c60| 79 20 69 6e 74 6f 20 62 | 6b 67 6e 64 20 66 69 65 |y into b|kgnd fie|
|00001c70| 6c 64 20 22 4e 61 74 69 | 6f 6e 61 6c 69 74 79 22 |ld "Nati|onality"|
|00001c80| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|00001c90| 62 6b 67 6e 64 20 66 69 | 65 6c 64 20 22 50 72 65 |bkgnd fi|eld "Pre|
|00001ca0| 70 54 69 6d 65 22 0d 70 | 75 74 20 65 6d 70 74 79 |pTime".p|ut empty|
|00001cb0| 20 69 6e 74 6f 20 62 6b | 67 6e 64 20 66 69 65 6c | into bk|gnd fiel|
|00001cc0| 64 20 22 53 65 72 76 65 | 73 22 0d 70 75 74 20 22 |d "Serve|s".put "|
|00001cd0| 53 6f 75 72 63 65 3a 22 | 20 26 20 52 45 54 55 52 |Source:"| & RETUR|
|00001ce0| 4e 20 69 6e 74 6f 20 62 | 6b 67 6e 64 20 66 69 65 |N into b|kgnd fie|
|00001cf0| 6c 64 20 22 52 65 66 65 | 72 65 6e 63 65 22 0d 70 |ld "Refe|rence".p|
|00001d00| 75 74 20 22 31 22 20 69 | 6e 74 6f 20 62 6b 67 6e |ut "1" i|nto bkgn|
|00001d10| 64 20 66 69 65 6c 64 20 | 22 44 69 66 66 69 63 75 |d field |"Difficu|
|00001d20| 6c 74 79 22 0d 70 75 74 | 20 22 3f 22 20 69 6e 74 |lty".put| "?" int|
|00001d30| 6f 20 62 6b 67 6e 64 20 | 66 69 65 6c 64 20 22 46 |o bkgnd |field "F|
|00001d40| 72 65 65 7a 65 73 22 0d | 70 75 74 20 22 3f 22 20 |reezes".|put "?" |
|00001d50| 69 6e 74 6f 20 62 6b 67 | 6e 64 20 66 69 65 6c 64 |into bkg|nd field|
|00001d60| 20 22 52 65 66 72 69 67 | 22 0d 73 65 74 20 74 68 | "Refrig|".set th|
|00001d70| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 62 6b 67 6e |e hilite| of bkgn|
|00001d80| 64 20 62 75 74 74 6f 6e | 20 22 4c 61 63 74 6f 22 |d button| "Lacto"|
|00001d90| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 74 68 | to fals|e.set th|
|00001da0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 62 6b 67 6e |e hilite| of bkgn|
|00001db0| 64 20 62 75 74 74 6f 6e | 20 22 54 72 69 65 64 22 |d button| "Tried"|
|00001dc0| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 74 68 | to fals|e.set th|
|00001dd0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 62 6b 67 6e |e hilite| of bkgn|
|00001de0| 64 20 62 75 74 74 6f 6e | 20 22 4f 76 6f 22 20 74 |d button| "Ovo" t|
|00001df0| 6f 20 66 61 6c 73 65 0d | 73 65 74 20 74 68 65 20 |o false.|set the |
|00001e00| 68 69 6c 69 74 65 20 6f | 66 20 62 6b 67 6e 64 20 |hilite o|f bkgnd |
|00001e10| 62 75 74 74 6f 6e 20 22 | 4d 65 61 74 54 79 70 65 |button "|MeatType|
|00001e20| 22 20 74 6f 20 66 61 6c | 73 65 0d 73 65 74 20 74 |" to fal|se.set t|
|00001e30| 68 65 20 68 69 6c 69 74 | 65 20 6f 66 20 62 6b 67 |he hilit|e of bkg|
|00001e40| 6e 64 20 62 75 74 74 6f | 6e 20 22 46 69 73 68 54 |nd butto|n "FishT|
|00001e50| 79 70 65 22 20 74 6f 20 | 66 61 6c 73 65 0d 73 65 |ype" to |false.se|
|00001e60| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00001e70| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 22 56 65 |bkgnd bu|tton "Ve|
|00001e80| 67 65 74 61 72 69 61 6e | 54 79 70 65 22 20 74 6f |getarian|Type" to|
|00001e90| 20 66 61 6c 73 65 0d 69 | 66 20 6e 6f 74 20 76 69 | false.i|f not vi|
|00001ea0| 73 69 62 6c 65 20 6f 66 | 20 62 6b 67 6e 64 20 66 |sible of| bkgnd f|
|00001eb0| 6c 64 20 44 69 72 65 63 | 74 69 6f 6e 73 20 74 68 |ld Direc|tions th|
|00001ec0| 65 6e 0d 63 6c 69 63 6b | 20 61 74 20 28 6c 6f 63 |en.click| at (loc|
|00001ed0| 61 74 69 6f 6e 20 6f 66 | 20 62 6b 67 6e 64 20 62 |ation of| bkgnd b|
|00001ee0| 74 6e 20 22 45 74 63 2e | 22 29 0d 65 6e 64 20 69 |tn "Etc.|").end i|
|00001ef0| 66 0d 68 69 64 65 20 63 | 64 20 62 74 6e 20 22 55 |f.hide c|d btn "U|
|00001f00| 70 64 61 74 65 20 49 6e | 64 65 78 22 20 6f 66 20 |pdate In|dex" of |
|00001f10| 43 61 72 64 20 22 49 6e | 64 65 78 22 0d 65 6c 73 |Card "In|dex".els|
|00001f20| 65 0d 61 6e 73 77 65 72 | 20 22 59 6f 75 20 63 61 |e.answer| "You ca|
|00001f30| 6e 20 6e 6f 74 20 61 6c | 74 65 72 20 74 68 69 73 |n not al|ter this|
|00001f40| 20 63 61 72 64 22 20 77 | 69 74 68 20 22 4f 4b 22 | card" w|ith "OK"|
|00001f50| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 64 6f 43 6c |.end if.|end doCl|
|00001f60| 65 61 72 43 61 72 64 0d | 0d 2d 2d 2d 0d 2d 2d 2d |earCard.|.---.---|
|00001f70| 4e 65 77 20 72 65 63 69 | 70 65 20 63 61 72 64 20 |New reci|pe card |
|00001f80| 72 6f 75 74 69 6e 65 0d | 2d 2d 2d 0d 6f 6e 20 64 |routine.|---.on d|
|00001f90| 6f 4e 65 77 43 61 72 64 | 0d 69 66 20 74 68 65 20 |oNewCard|.if the |
|00001fa0| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 20 52 65 63 |number o|f cd Rec|
|00001fb0| 69 70 65 31 20 3c 3d 20 | 74 68 65 20 6e 75 6d 62 |ipe1 <= |the numb|
|00001fc0| 65 72 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |er of th|is card |
|00001fd0| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 41 64 64 |then.ans|wer "Add|
|00001fe0| 20 63 61 72 64 20 68 65 | 72 65 3f 22 20 77 69 74 | card he|re?" wit|
|00001ff0| 68 20 43 61 6e 63 65 6c | 20 6f 72 20 4e 6f 20 6f |h Cancel| or No o|
|00002000| 72 20 59 65 73 0d 0d 69 | 66 20 69 74 20 69 73 20 |r Yes..i|f it is |
|00002010| 79 65 73 20 74 68 65 6e | 0d 64 6f 20 41 64 64 43 |yes then|.do AddC|
|00002020| 61 72 64 0d 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |ard..els|e if it |
|00002030| 3d 20 22 6e 6f 22 20 74 | 68 65 6e 0d 6c 6f 63 6b |= "no" t|hen.lock|
|00002040| 20 73 63 72 65 65 6e 0d | 67 6f 20 63 61 72 64 20 | screen.|go card |
|00002050| 22 49 6e 64 65 78 22 0d | 73 68 6f 77 20 63 64 20 |"Index".|show cd |
|00002060| 66 6c 64 20 42 61 63 6b | 67 72 6f 75 6e 64 0d 73 |fld Back|ground.s|
|00002070| 68 6f 77 20 63 64 20 62 | 75 74 74 6f 6e 20 22 43 |how cd b|utton "C|
|00002080| 61 6e 63 65 6c 22 0d 73 | 68 6f 77 20 63 64 20 62 |ancel".s|how cd b|
|00002090| 74 6e 20 22 43 6c 69 63 | 6b 20 61 6e 64 20 48 6f |tn "Clic|k and Ho|
|000020a0| 6c 64 22 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |ld".unlo|ck scree|
|000020b0| 6e 0d 65 6e 64 20 69 66 | 0d 0d 65 6c 73 65 0d 6c |n.end if|..else.l|
|000020c0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 63 61 |ock scre|en.go ca|
|000020d0| 72 64 20 22 49 6e 64 65 | 78 22 0d 73 68 6f 77 20 |rd "Inde|x".show |
|000020e0| 63 64 20 66 6c 64 20 42 | 61 63 6b 67 72 6f 75 6e |cd fld B|ackgroun|
|000020f0| 64 0d 73 68 6f 77 20 63 | 64 20 62 74 6e 20 22 43 |d.show c|d btn "C|
|00002100| 6c 69 63 6b 20 61 6e 64 | 20 48 6f 6c 64 22 0d 73 |lick and| Hold".s|
|00002110| 68 6f 77 20 63 64 20 62 | 74 6e 20 63 61 6e 63 65 |how cd b|tn cance|
|00002120| 6c 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |l.unlock| screen.|
|00002130| 65 6e 64 20 69 66 0d 65 | 6e 64 20 64 6f 4e 65 77 |end if.e|nd doNew|
|00002140| 43 61 72 64 0d 0d 6f 6e | 20 41 64 64 43 61 72 64 |Card..on| AddCard|
|00002150| 0d 73 65 74 20 75 73 65 | 72 6c 65 76 65 6c 20 74 |.set use|rlevel t|
|00002160| 6f 20 33 0d 64 6f 4d 65 | 6e 75 20 22 43 6f 70 79 |o 3.doMe|nu "Copy|
|00002170| 20 43 61 72 64 22 0d 64 | 6f 4d 65 6e 75 20 22 50 | Card".d|oMenu "P|
|00002180| 61 73 74 65 20 43 61 72 | 64 22 0d 64 6f 43 6c 65 |aste Car|d".doCle|
|00002190| 61 72 43 61 72 64 0d 73 | 65 74 20 63 61 6e 74 44 |arCard.s|et cantD|
|000021a0| 65 6c 65 74 65 20 6f 66 | 20 74 68 69 73 20 63 61 |elete of| this ca|
|000021b0| 72 64 20 74 6f 20 66 61 | 6c 73 65 0d 73 65 74 20 |rd to fa|lse.set |
|000021c0| 75 73 65 72 6c 65 76 65 | 6c 20 74 6f 20 32 0d 4e |userleve|l to 2.N|
|000021d0| 65 77 52 65 63 69 70 65 | 49 6e 4d 65 6e 75 0d 73 |ewRecipe|InMenu.s|
|000021e0| 65 6c 65 63 74 20 74 65 | 78 74 20 6f 66 20 62 6b |elect te|xt of bk|
|000021f0| 67 6e 64 20 66 69 65 6c | 64 20 22 52 65 63 69 70 |gnd fiel|d "Recip|
|00002200| 65 22 0d 68 69 64 65 20 | 63 64 20 62 74 6e 20 22 |e".hide |cd btn "|
|00002210| 55 70 64 61 74 65 20 49 | 6e 64 65 78 22 20 6f 66 |Update I|ndex" of|
|00002220| 20 43 61 72 64 20 22 49 | 6e 64 65 78 22 0d 65 6e | Card "I|ndex".en|
|00002230| 64 20 41 64 64 43 61 72 | 64 0d 0d 6f 6e 20 4f 70 |d AddCar|d..on Op|
|00002240| 65 6e 49 6e 66 6f 42 6f | 78 0d 70 75 73 68 20 63 |enInfoBo|x.push c|
|00002250| 61 72 64 0d 67 6f 20 63 | 61 72 64 20 49 6e 64 65 |ard.go c|ard Inde|
|00002260| 78 0d 69 66 20 74 68 65 | 20 4f 70 74 69 6f 6e 4b |x.if the| OptionK|
|00002270| 65 79 20 69 73 20 64 6f | 77 6e 20 74 68 65 6e 20 |ey is do|wn then |
|00002280| 73 68 6f 77 20 63 64 20 | 66 6c 64 20 56 65 72 73 |show cd |fld Vers|
|00002290| 69 6f 6e 49 6e 66 6f 0d | 65 6c 73 65 20 73 68 6f |ionInfo.|else sho|
|000022a0| 77 20 63 64 20 66 6c 64 | 20 49 6e 66 6f 42 6f 78 |w cd fld| InfoBox|
|000022b0| 0d 65 6e 64 20 4f 70 65 | 6e 49 6e 66 6f 42 6f 78 |.end Ope|nInfoBox|
|000022c0| 0d 0d 4f 6e 20 43 6c 6f | 73 65 49 6e 66 6f 42 6f |..On Clo|seInfoBo|
|000022d0| 78 0d 68 69 64 65 20 63 | 64 20 66 6c 64 20 49 6e |x.hide c|d fld In|
|000022e0| 66 6f 42 6f 78 0d 68 69 | 64 65 20 63 64 20 66 6c |foBox.hi|de cd fl|
|000022f0| 64 20 56 65 72 73 69 6f | 6e 49 6e 66 6f 0d 70 6f |d Versio|nInfo.po|
|00002300| 70 20 63 61 72 64 0d 65 | 6e 64 20 43 6c 6f 73 65 |p card.e|nd Close|
|00002310| 49 6e 66 6f 42 6f 78 0d | 0d 0d 2d 2d 2d 54 68 69 |InfoBox.|..---Thi|
|00002320| 73 20 70 72 6f 63 65 64 | 75 72 65 20 6d 65 72 67 |s proced|ure merg|
|00002330| 65 73 20 61 6e 6f 74 68 | 65 72 20 72 65 63 69 70 |es anoth|er recip|
|00002340| 65 20 73 74 61 63 6b 20 | 77 69 74 68 20 63 75 72 |e stack |with cur|
|00002350| 72 65 6e 74 6c 79 20 6f | 70 65 6e 20 73 74 61 63 |rently o|pen stac|
|00002360| 6b 0d 6f 6e 20 4d 65 72 | 67 65 53 74 61 63 6b 73 |k.on Mer|geStacks|
|00002370| 0d 0d 61 6e 73 77 65 72 | 20 22 41 75 74 6f 6d 61 |..answer| "Automa|
|00002380| 74 69 63 20 6f 66 20 4d | 61 6e 75 61 6c 20 6d 65 |tic of M|anual me|
|00002390| 72 67 65 3f 22 20 77 69 | 74 68 20 22 41 75 74 6f |rge?" wi|th "Auto|
|000023a0| 6d 61 74 69 63 22 2c 20 | 22 4d 61 6e 75 61 6c 22 |matic", |"Manual"|
|000023b0| 2c 20 22 43 61 6e 63 65 | 6c 22 0d 69 66 20 69 74 |, "Cance|l".if it|
|000023c0| 20 69 73 20 22 43 61 6e | 63 65 6c 22 20 74 68 65 | is "Can|cel" the|
|000023d0| 6e 20 65 78 69 74 20 4d | 65 72 67 65 53 74 61 63 |n exit M|ergeStac|
|000023e0| 6b 73 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 68 |ks.put i|t into h|
|000023f0| 6f 77 4d 65 72 67 69 6e | 67 0d 69 66 20 68 6f 77 |owMergin|g.if how|
|00002400| 4d 65 72 67 69 6e 67 20 | 69 73 20 22 41 75 74 6f |Merging |is "Auto|
|00002410| 6d 61 74 69 63 22 20 74 | 68 65 6e 0d 61 6e 73 77 |matic" t|hen.answ|
|00002420| 65 72 20 22 43 6f 70 79 | 20 74 68 65 20 74 61 62 |er "Copy| the tab|
|00002430| 20 68 65 61 64 69 6e 67 | 73 20 66 72 6f 6d 20 74 | heading|s from t|
|00002440| 68 65 20 6f 6c 64 20 73 | 74 61 63 6b 22 20 77 69 |he old s|tack" wi|
|00002450| 74 68 20 22 59 65 73 22 | 2c 20 22 4e 6f 22 0d 69 |th "Yes"|, "No".i|
|00002460| 66 20 69 74 20 69 73 20 | 22 59 65 73 22 20 74 68 |f it is |"Yes" th|
|00002470| 65 6e 20 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en put t|rue into|
|00002480| 20 6d 6f 76 65 54 61 62 | 73 0d 65 6c 73 65 20 70 | moveTab|s.else p|
|00002490| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 6d 6f |ut false| into mo|
|000024a0| 76 65 54 61 62 73 0d 65 | 6e 64 20 69 66 0d 0d 0d |veTabs.e|nd if...|
|000024b0| 2d 2d 2d 61 73 6b 20 66 | 6f 72 20 74 68 65 20 73 |---ask f|or the s|
|000024c0| 74 61 63 6b 20 74 6f 20 | 62 65 20 6d 65 72 67 65 |tack to |be merge|
|000024d0| 64 20 77 69 74 68 20 74 | 68 69 73 20 6f 6e 65 0d |d with t|his one.|
|000024e0| 61 6e 73 77 65 72 20 66 | 69 6c 65 20 22 4f 70 65 |answer f|ile "Ope|
|000024f0| 6e 20 6f 74 68 65 72 20 | 72 65 63 69 70 65 20 73 |n other |recipe s|
|00002500| 74 61 63 6b 22 20 6f 66 | 20 74 79 70 65 20 53 54 |tack" of| type ST|
|00002510| 41 4b 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |AK.if it| is empt|
|00002520| 79 20 74 68 65 6e 20 65 | 78 69 74 20 4d 65 72 67 |y then e|xit Merg|
|00002530| 65 53 74 61 63 6b 73 0d | 0d 70 75 74 20 22 53 74 |eStacks.|.put "St|
|00002540| 61 63 6b 20 22 26 71 75 | 6f 74 65 26 69 74 26 71 |ack "&qu|ote&it&q|
|00002550| 75 6f 74 65 20 69 6e 74 | 6f 20 4f 6c 64 53 74 61 |uote int|o OldSta|
|00002560| 63 6b 4e 61 6d 65 0d 70 | 75 74 20 74 68 65 20 6c |ckName.p|ut the l|
|00002570| 6f 6e 67 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ong name| of this|
|00002580| 20 73 74 61 63 6b 20 69 | 6e 74 6f 20 4e 65 77 53 | stack i|nto NewS|
|00002590| 74 61 63 6b 4e 61 6d 65 | 0d 0d 2d 2d 74 65 73 74 |tackName|..--test|
|000025a0| 20 69 66 20 6f 6c 64 20 | 73 74 61 63 6b 20 69 73 | if old |stack is|
|000025b0| 20 61 20 72 65 63 69 70 | 65 20 73 74 61 63 6b 0d | a recip|e stack.|
|000025c0| 67 6f 20 4f 6c 64 53 74 | 61 63 6b 4e 61 6d 65 20 |go OldSt|ackName |
|000025d0| 69 6e 20 61 20 6e 65 77 | 20 77 69 6e 64 6f 77 0d |in a new| window.|
|000025e0| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 63 |if there| is no c|
|000025f0| 61 72 64 20 22 52 65 63 | 69 70 65 31 22 20 74 68 |ard "Rec|ipe1" th|
|00002600| 65 6e 0d 61 6e 73 77 65 | 72 20 22 54 68 69 73 20 |en.answe|r "This |
|00002610| 69 73 20 6e 6f 74 20 61 | 20 76 61 6c 69 64 20 52 |is not a| valid R|
|00002620| 65 63 69 70 65 20 73 74 | 61 63 6b 22 20 77 69 74 |ecipe st|ack" wit|
|00002630| 68 20 6f 6b 61 79 0d 65 | 78 69 74 20 4d 65 72 67 |h okay.e|xit Merg|
|00002640| 65 53 74 61 63 6b 73 0d | 65 6e 64 20 69 66 0d 0d |eStacks.|end if..|
|00002650| 69 66 20 68 6f 77 4d 65 | 72 67 69 6e 67 20 3d 22 |if howMe|rging ="|
|00002660| 4d 61 6e 75 61 6c 22 20 | 74 68 65 6e 0d 2d 2d 4d |Manual" |then.--M|
|00002670| 61 6e 75 61 6c 20 4d 65 | 72 67 65 3b 20 73 65 74 |anual Me|rge; set|
|00002680| 73 20 75 70 20 6c 69 73 | 74 20 6f 66 20 72 65 63 |s up lis|t of rec|
|00002690| 69 70 65 73 20 61 6e 64 | 20 67 6f 65 73 20 74 6f |ipes and| goes to|
|000026a0| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 20 63 61 72 64 | convers|ion card|
|000026b0| 20 74 6f 20 70 72 6f 63 | 65 73 73 0d 2d 2d 67 65 | to proc|ess.--ge|
|000026c0| 6e 65 72 61 74 65 20 61 | 20 6c 69 73 74 20 6f 66 |nerate a| list of|
|000026d0| 20 72 65 63 69 70 65 73 | 20 61 6e 64 20 74 68 65 | recipes| and the|
|000026e0| 69 72 20 61 73 73 6f 63 | 69 61 74 65 64 20 74 61 |ir assoc|iated ta|
|000026f0| 62 20 6c 6f 63 61 74 69 | 6f 6e 73 0d 67 6f 20 6e |b locati|ons.go n|
|00002700| 65 77 53 74 61 63 6b 4e | 61 6d 65 0d 70 75 74 20 |ewStackN|ame.put |
|00002710| 47 65 6e 65 72 61 74 65 | 48 65 61 64 65 72 4c 69 |Generate|HeaderLi|
|00002720| 73 74 28 29 20 69 6e 74 | 6f 20 6e 65 77 68 65 61 |st() int|o newhea|
|00002730| 64 65 72 4c 69 73 74 2d | 2d 66 6f 72 20 63 6f 6d |derList-|-for com|
|00002740| 70 61 72 69 73 6f 6e 20 | 70 75 72 70 6f 73 65 73 |parison |purposes|
|00002750| 0d 67 6f 20 6f 6c 64 53 | 74 61 63 6b 4e 61 6d 65 |.go oldS|tackName|
|00002760| 0d 70 75 74 20 52 65 63 | 69 70 65 4c 69 73 74 28 |.put Rec|ipeList(|
|00002770| 6e 65 77 48 65 61 64 65 | 72 4c 69 73 74 29 20 69 |newHeade|rList) i|
|00002780| 6e 74 6f 20 69 74 0d 67 | 6f 20 6e 65 77 53 74 61 |nto it.g|o newSta|
|00002790| 63 6b 4e 61 6d 65 0d 70 | 75 74 20 69 74 20 69 6e |ckName.p|ut it in|
|000027a0| 74 6f 20 63 64 20 66 6c | 64 20 6f 6c 64 53 74 61 |to cd fl|d oldSta|
|000027b0| 63 6b 52 65 63 69 70 65 | 73 20 6f 66 20 63 64 20 |ckRecipe|s of cd |
|000027c0| 63 6f 6e 76 65 72 73 69 | 6f 6e 0d 67 6f 20 6e 65 |conversi|on.go ne|
|000027d0| 77 53 74 61 63 6b 4e 61 | 6d 65 0d 73 68 6f 77 20 |wStackNa|me.show |
|000027e0| 63 64 20 66 6c 64 20 22 | 6f 6c 64 53 74 61 63 6b |cd fld "|oldStack|
|000027f0| 52 65 63 69 70 65 73 22 | 20 6f 66 20 63 64 20 63 |Recipes"| of cd c|
|00002800| 6f 6e 76 65 72 73 69 6f | 6e 0d 73 68 6f 77 20 63 |onversio|n.show c|
|00002810| 64 20 66 6c 64 20 22 69 | 6e 73 74 72 75 63 74 69 |d fld "i|nstructi|
|00002820| 6f 6e 73 22 20 6f 66 20 | 63 64 20 63 6f 6e 76 65 |ons" of |cd conve|
|00002830| 72 73 69 6f 6e 0d 73 68 | 6f 77 20 63 64 20 62 74 |rsion.sh|ow cd bt|
|00002840| 6e 20 22 70 72 6f 63 65 | 73 73 22 20 6f 66 20 63 |n "proce|ss" of c|
|00002850| 64 20 63 6f 6e 76 65 72 | 73 69 6f 6e 0d 73 68 6f |d conver|sion.sho|
|00002860| 77 20 63 64 20 62 74 6e | 20 22 43 61 6e 63 65 6c |w cd btn| "Cancel|
|00002870| 22 20 6f 66 20 63 64 20 | 63 6f 6e 76 65 72 73 69 |" of cd |conversi|
|00002880| 6f 6e 0d 64 69 73 61 62 | 6c 65 20 6d 65 6e 75 49 |on.disab|le menuI|
|00002890| 74 65 6d 20 22 43 6f 6e | 76 65 72 73 69 6f 6e 22 |tem "Con|version"|
|000028a0| 20 6f 66 20 6d 65 6e 75 | 20 22 67 6f 6f 64 69 65 | of menu| "goodie|
|000028b0| 73 22 0d 70 75 74 20 22 | 4d 65 72 67 65 20 57 69 |s".put "|Merge Wi|
|000028c0| 6e 64 6f 77 22 20 69 6e | 74 6f 20 6d 65 6e 75 49 |ndow" in|to menuI|
|000028d0| 74 65 6d 20 22 4d 65 72 | 67 65 20 52 65 63 69 70 |tem "Mer|ge Recip|
|000028e0| 65 73 22 20 6f 66 20 6d | 65 6e 75 20 22 47 6f 6f |es" of m|enu "Goo|
|000028f0| 64 69 65 73 22 20 77 69 | 74 68 20 6d 65 6e 75 4d |dies" wi|th menuM|
|00002900| 73 67 20 22 67 6f 20 63 | 61 72 64 20 43 6f 6e 76 |sg "go c|ard Conv|
|00002910| 65 72 73 69 6f 6e 22 0d | 67 6f 20 63 64 20 63 6f |ersion".|go cd co|
|00002920| 6e 76 65 72 73 69 6f 6e | 0d 70 75 74 20 6f 6c 64 |nversion|.put old|
|00002930| 53 74 61 63 6b 4e 61 6d | 65 20 26 72 65 74 75 72 |StackNam|e &retur|
|00002940| 6e 26 6e 65 77 53 74 61 | 63 6b 4e 61 6d 65 20 69 |n&newSta|ckName i|
|00002950| 6e 74 6f 20 63 64 20 66 | 6c 64 20 53 74 61 63 6b |nto cd f|ld Stack|
|00002960| 4e 61 6d 65 73 0d 65 6c | 73 65 0d 2d 2d 41 75 74 |Names.el|se.--Aut|
|00002970| 6f 6d 61 74 69 63 61 6c | 79 20 69 6e 73 65 72 74 |omatical|y insert|
|00002980| 20 72 65 63 69 70 65 73 | 20 69 6e 74 6f 20 73 74 | recipes| into st|
|00002990| 61 63 6b 0d 2d 2d 61 73 | 73 75 6d 65 73 20 73 74 |ack.--as|sumes st|
|000029a0| 61 63 6b 73 20 65 78 69 | 73 74 20 61 6e 64 20 61 |acks exi|st and a|
|000029b0| 72 65 20 72 65 63 69 70 | 65 20 73 74 61 63 6b 73 |re recip|e stacks|
|000029c0| 20 61 6e 64 20 49 27 6d | 20 69 6e 20 74 68 65 20 | and I'm| in the |
|000029d0| 6f 6c 64 20 72 65 63 69 | 70 65 20 73 74 61 63 6b |old reci|pe stack|
|000029e0| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 73 65 74 |.lock sc|reen.set|
|000029f0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00002a00| 50 72 6f 67 72 65 73 73 | 57 69 6e 64 6f 77 20 22 |Progress|Window "|
|00002a10| a9 44 6f 6d 65 22 2c 22 | 4d 65 72 67 69 6e 67 22 |.Dome","|Merging"|
|00002a20| 2c 22 4e 6f 77 20 61 64 | 64 69 6e 67 20 63 61 72 |,"Now ad|ding car|
|00002a30| 64 73 20 74 6f 20 73 74 | 61 63 6b 2e 22 0d 70 75 |ds to st|ack.".pu|
|00002a40| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|00002a50| 74 68 65 20 6c 61 73 74 | 20 63 61 72 64 20 69 6e |the last| card in|
|00002a60| 74 6f 20 74 6f 74 61 6c | 43 61 72 64 73 0d 72 65 |to total|Cards.re|
|00002a70| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 74 68 |peat wit|h i = th|
|00002a80| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 61 72 64 |e number| of card|
|00002a90| 20 52 65 63 69 70 65 31 | 20 74 6f 20 74 68 65 20 | Recipe1| to the |
|00002aa0| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 65 20 6c 61 |number o|f the la|
|00002ab0| 73 74 20 63 61 72 64 0d | 73 65 74 20 22 74 68 65 |st card.|set "the|
|00002ac0| 50 65 72 63 65 6e 74 22 | 20 6f 66 20 77 69 6e 64 |Percent"| of wind|
|00002ad0| 6f 77 20 22 4d 65 72 67 | 69 6e 67 22 20 74 6f 20 |ow "Merg|ing" to |
|00002ae0| 28 69 2f 74 6f 74 61 6c | 43 61 72 64 73 2a 31 30 |(i/total|Cards*10|
|00002af0| 30 29 0d 67 6f 20 63 61 | 72 64 20 69 20 6f 66 20 |0).go ca|rd i of |
|00002b00| 6f 6c 64 53 74 61 63 6b | 4e 61 6d 65 0d 69 66 20 |oldStack|Name.if |
|00002b10| 62 6b 67 6e 64 20 66 6c | 64 20 72 65 63 69 70 65 |bkgnd fl|d recipe|
|00002b20| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00002b30| 65 6e 0d 43 6f 70 79 43 | 61 72 64 20 28 69 64 20 |en.CopyC|ard (id |
|00002b40| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 26 22 20 |of this |card &" |
|00002b50| 6f 66 20 22 26 20 6f 6c | 64 53 74 61 63 6b 4e 61 |of "& ol|dStackNa|
|00002b60| 6d 65 29 2c 28 6e 61 6d | 65 20 6f 66 20 74 68 69 |me),(nam|e of thi|
|00002b70| 73 20 63 61 72 64 20 26 | 22 20 6f 66 20 22 26 20 |s card &|" of "& |
|00002b80| 6e 65 77 53 74 61 63 6b | 4e 61 6d 65 29 0d 65 6e |newStack|Name).en|
|00002b90| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00002ba0| 69 66 20 6d 6f 76 65 54 | 61 62 73 20 74 68 65 6e |if moveT|abs then|
|00002bb0| 0d 2d 2d 6d 6f 76 65 20 | 74 68 65 20 74 61 62 20 |.--move |the tab |
|00002bc0| 68 65 61 64 69 6e 67 73 | 20 66 72 6f 6d 20 74 68 |headings| from th|
|00002bd0| 65 20 6f 6c 64 20 73 74 | 61 63 6b 20 74 6f 20 74 |e old st|ack to t|
|00002be0| 68 65 20 6e 65 77 20 73 | 74 61 63 6b 0d 67 6f 20 |he new s|tack.go |
|00002bf0| 6f 6c 64 53 74 61 63 6b | 4e 61 6d 65 0d 70 75 74 |oldStack|Name.put|
|00002c00| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 74 61 62 48 | empty i|nto tabH|
|00002c10| 65 61 64 69 6e 67 73 0d | 72 65 70 65 61 74 20 77 |eadings.|repeat w|
|00002c20| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 37 0d 70 |ith i = |1 to 7.p|
|00002c30| 75 74 20 42 61 64 43 68 | 61 72 52 65 70 6c 61 63 |ut BadCh|arReplac|
|00002c40| 65 28 62 6b 67 6e 64 20 | 66 6c 64 20 28 22 69 22 |e(bkgnd |fld ("i"|
|00002c50| 26 69 29 20 6f 66 20 63 | 64 20 22 49 6e 64 65 78 |&i) of c|d "Index|
|00002c60| 22 29 20 26 22 2c 22 20 | 61 66 74 65 72 20 74 61 |") &"," |after ta|
|00002c70| 62 48 65 61 64 69 6e 67 | 73 0d 72 65 70 65 61 74 |bHeading|s.repeat|
|00002c80| 20 77 69 74 68 20 6a 3d | 20 31 20 74 6f 20 37 0d | with j=| 1 to 7.|
|00002c90| 70 75 74 20 42 61 64 43 | 68 61 72 52 65 70 6c 61 |put BadC|harRepla|
|00002ca0| 63 65 28 62 6b 67 6e 64 | 20 66 6c 64 20 28 22 4d |ce(bkgnd| fld ("M|
|00002cb0| 22 26 69 26 22 53 22 26 | 6a 29 20 6f 66 20 63 64 |"&i&"S"&|j) of cd|
|00002cc0| 20 28 52 65 63 69 70 65 | 26 28 69 2a 37 29 29 29 | (Recipe|&(i*7)))|
|00002cd0| 20 26 20 22 2c 22 20 61 | 66 74 65 72 20 74 61 62 | & "," a|fter tab|
|00002ce0| 48 65 61 64 69 6e 67 73 | 0d 65 6e 64 20 72 65 70 |Headings|.end rep|
|00002cf0| 65 61 74 0d 70 75 74 20 | 72 65 74 75 72 6e 20 61 |eat.put |return a|
|00002d00| 66 74 65 72 20 74 61 62 | 48 65 61 64 69 6e 67 73 |fter tab|Headings|
|00002d10| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 6f 20 6e |.end rep|eat.go n|
|00002d20| 65 77 53 74 61 63 6b 4e | 61 6d 65 0d 70 75 74 20 |ewStackN|ame.put |
|00002d30| 28 6c 69 6e 65 20 31 20 | 6f 66 20 63 64 20 66 6c |(line 1 |of cd fl|
|00002d40| 64 20 4d 61 69 6e 41 6e | 64 53 75 62 20 6f 66 20 |d MainAn|dSub of |
|00002d50| 63 64 20 63 6f 6e 76 65 | 72 73 69 6f 6e 29 20 26 |cd conve|rsion) &|
|00002d60| 20 72 65 74 75 72 6e 20 | 26 20 74 61 62 48 65 61 | return |& tabHea|
|00002d70| 64 69 6e 67 73 20 69 6e | 74 6f 20 63 64 20 66 6c |dings in|to cd fl|
|00002d80| 64 20 4d 61 69 6e 41 6e | 64 53 75 62 20 6f 66 20 |d MainAn|dSub of |
|00002d90| 63 64 20 63 6f 6e 76 65 | 72 73 69 6f 6e 0d 72 65 |cd conve|rsion.re|
|00002da0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00002db0| 74 6f 20 37 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |to 7.put| item 1 |
|00002dc0| 6f 66 20 6c 69 6e 65 20 | 69 20 6f 66 20 74 61 62 |of line |i of tab|
|00002dd0| 48 65 61 64 69 6e 67 73 | 20 69 6e 74 6f 20 62 6b |Headings| into bk|
|00002de0| 67 6e 64 20 66 6c 64 20 | 28 22 69 22 26 69 29 20 |gnd fld |("i"&i) |
|00002df0| 6f 66 20 63 64 20 22 49 | 6e 64 65 78 22 0d 72 65 |of cd "I|ndex".re|
|00002e00| 70 65 61 74 20 77 69 74 | 68 20 6a 3d 31 20 74 6f |peat wit|h j=1 to|
|00002e10| 20 37 0d 70 75 74 20 69 | 74 65 6d 20 6a 2b 31 20 | 7.put i|tem j+1 |
|00002e20| 6f 66 20 6c 69 6e 65 20 | 69 20 6f 66 20 74 61 62 |of line |i of tab|
|00002e30| 48 65 61 64 69 6e 67 73 | 20 69 6e 74 6f 20 62 6b |Headings| into bk|
|00002e40| 67 6e 64 20 66 6c 64 20 | 28 22 4d 22 26 69 26 22 |gnd fld |("M"&i&"|
|00002e50| 53 22 26 6a 29 20 6f 66 | 20 63 64 20 28 52 65 63 |S"&j) of| cd (Rec|
|00002e60| 69 70 65 26 28 69 2a 37 | 29 29 0d 65 6e 64 20 72 |ipe&(i*7|)).end r|
|00002e70| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00002e80| 0d 65 6e 64 20 69 66 0d | 2d 2d 74 69 64 79 20 74 |.end if.|--tidy t|
|00002e90| 68 69 6e 67 73 20 75 70 | 2c 20 63 6c 6f 73 65 20 |hings up|, close |
|00002ea0| 6f 6c 64 20 73 74 61 63 | 6b 0d 67 6f 20 6f 6c 64 |old stac|k.go old|
|00002eb0| 53 74 61 63 6b 4e 61 6d | 65 20 69 6e 20 61 20 6e |StackNam|e in a n|
|00002ec0| 65 77 20 77 69 6e 64 6f | 77 0d 64 6f 6d 65 6e 75 |ew windo|w.domenu|
|00002ed0| 20 22 43 6c 6f 73 65 20 | 53 74 61 63 6b 22 0d 67 | "Close |Stack".g|
|00002ee0| 6f 20 63 64 20 69 6e 64 | 65 78 20 6f 66 20 6e 65 |o cd ind|ex of ne|
|00002ef0| 77 53 74 61 63 6b 4e 61 | 6d 65 0d 63 6c 6f 73 65 |wStackNa|me.close|
|00002f00| 20 77 69 6e 64 6f 77 20 | 22 4d 65 72 67 69 6e 67 | window |"Merging|
|00002f10| 22 0d 70 6c 61 79 20 22 | 73 6f 73 75 6d 69 22 20 |".play "|sosumi" |
|00002f20| 22 61 33 73 20 62 20 63 | 34 20 61 33 20 61 33 68 |"a3s b c|4 a3 a3h|
|00002f30| 22 0d 61 6e 73 77 65 72 | 20 22 4d 65 72 67 69 6e |".answer| "Mergin|
|00002f40| 67 20 63 6f 6d 70 6c 65 | 74 65 64 22 20 77 69 74 |g comple|ted" wit|
|00002f50| 68 20 6f 6b 61 79 0d 75 | 6e 6c 6f 63 6b 20 73 63 |h okay.u|nlock sc|
|00002f60| 72 65 65 6e 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |reen.end| if.end |
|00002f70| 4d 65 72 67 65 53 74 61 | 63 6b 73 0d 0d 66 75 6e |MergeSta|cks..fun|
|00002f80| 63 74 69 6f 6e 20 47 65 | 6e 65 72 61 74 65 48 65 |ction Ge|nerateHe|
|00002f90| 61 64 65 72 4c 69 73 74 | 0d 2d 2d 6d 61 6b 65 20 |aderList|.--make |
|00002fa0| 6c 69 73 74 20 6f 66 20 | 61 73 73 6f 63 69 61 74 |list of |associat|
|00002fb0| 65 64 20 74 61 62 73 20 | 28 6d 61 69 6e 2c 73 75 |ed tabs |(main,su|
|00002fc0| 62 29 2c 20 61 73 73 75 | 6d 65 73 20 69 27 6d 20 |b), assu|mes i'm |
|00002fd0| 69 6e 20 70 72 6f 70 65 | 72 20 73 74 61 63 6b 0d |in prope|r stack.|
|00002fe0| 50 72 6f 67 72 65 73 73 | 57 69 6e 64 6f 77 20 22 |Progress|Window "|
|00002ff0| a9 44 6f 6d 65 22 2c 22 | 54 61 62 48 65 61 64 69 |.Dome","|TabHeadi|
|00003000| 6e 67 73 22 2c 28 22 43 | 6f 6d 70 69 6c 69 6e 67 |ngs",("C|ompiling|
|00003010| 20 74 61 62 20 66 6f 72 | 20 22 26 74 68 65 20 73 | tab for| "&the s|
|00003020| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00003030| 73 20 73 74 61 63 6b 29 | 0d 70 75 74 20 22 22 20 |s stack)|.put "" |
|00003040| 69 6e 74 6f 20 72 65 63 | 69 70 65 49 64 0d 72 65 |into rec|ipeId.re|
|00003050| 70 65 61 74 20 77 69 74 | 68 20 6a 20 3d 20 31 20 |peat wit|h j = 1 |
|00003060| 74 6f 20 37 20 2d 2d 67 | 65 6e 65 72 61 74 65 20 |to 7 --g|enerate |
|00003070| 74 61 62 20 6e 61 6d 65 | 20 6c 69 73 74 0d 72 65 |tab name| list.re|
|00003080| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003090| 74 6f 20 37 0d 73 65 74 | 20 22 74 68 65 50 65 72 |to 7.set| "thePer|
|000030a0| 63 65 6e 74 22 20 6f 66 | 20 77 69 6e 64 6f 77 20 |cent" of| window |
|000030b0| 22 54 61 62 48 65 61 64 | 69 6e 67 73 22 20 74 6f |"TabHead|ings" to|
|000030c0| 20 28 28 6a 2a 37 2b 69 | 29 2f 34 39 2a 31 30 30 | ((j*7+i|)/49*100|
|000030d0| 29 0d 70 75 74 20 28 62 | 6b 67 6e 64 20 66 6c 64 |).put (b|kgnd fld|
|000030e0| 20 28 22 69 22 26 6a 29 | 20 6f 66 20 63 64 20 69 | ("i"&j)| of cd i|
|000030f0| 6e 64 65 78 29 20 26 20 | 22 2c 22 20 26 20 28 62 |ndex) & |"," & (b|
|00003100| 6b 67 6e 64 20 66 6c 64 | 20 28 22 4d 22 26 6a 26 |kgnd fld| ("M"&j&|
|00003110| 22 53 22 26 69 29 20 6f | 66 20 63 64 20 28 22 52 |"S"&i) o|f cd ("R|
|00003120| 65 63 69 70 65 22 20 26 | 20 28 6a 2a 37 29 29 29 |ecipe" &| (j*7)))|
|00003130| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00003140| 72 65 63 69 70 65 49 64 | 0d 65 6e 64 20 72 65 70 |recipeId|.end rep|
|00003150| 65 61 74 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 63 |eat.end |repeat.c|
|00003160| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 22 54 61 62 |lose win|dow "Tab|
|00003170| 48 65 61 64 69 6e 67 73 | 22 0d 72 65 74 75 72 6e |Headings|".return|
|00003180| 20 72 65 63 69 70 65 49 | 64 0d 65 6e 64 20 47 65 | recipeI|d.end Ge|
|00003190| 6e 65 72 61 74 65 48 65 | 61 64 65 72 4c 69 73 74 |nerateHe|aderList|
|000031a0| 0d 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 52 65 63 69 |...funct|ion Reci|
|000031b0| 70 65 4c 69 73 74 20 6e | 65 77 48 65 61 64 65 72 |peList n|ewHeader|
|000031c0| 4c 69 73 74 0d 2d 2d 61 | 73 73 75 6d 65 73 20 69 |List.--a|ssumes i|
|000031d0| 27 6d 20 69 6e 20 61 20 | 73 74 61 63 6b 20 77 68 |'m in a |stack wh|
|000031e0| 65 72 65 20 69 27 6d 20 | 74 6f 20 63 6f 6d 70 61 |ere i'm |to compa|
|000031f0| 72 65 20 72 65 63 69 70 | 65 73 20 77 69 74 68 20 |re recip|es with |
|00003200| 74 68 65 20 68 65 61 64 | 65 72 6c 69 73 74 20 69 |the head|erlist i|
|00003210| 27 76 65 20 62 65 65 6e | 20 70 72 6f 76 69 64 65 |'ve been| provide|
|00003220| 64 0d 0d 70 75 74 20 47 | 65 6e 65 72 61 74 65 48 |d..put G|enerateH|
|00003230| 65 61 64 65 72 4c 69 73 | 74 20 28 29 20 69 6e 74 |eaderLis|t () int|
|00003240| 6f 20 6f 6c 64 48 65 61 | 64 65 72 4c 69 73 74 0d |o oldHea|derList.|
|00003250| 0d 67 6f 20 63 64 20 72 | 65 63 69 70 65 31 0d 50 |.go cd r|ecipe1.P|
|00003260| 72 6f 67 72 65 73 73 57 | 69 6e 64 6f 77 20 22 a9 |rogressW|indow ".|
|00003270| 44 6f 6d 65 22 2c 22 52 | 65 63 69 70 65 4c 69 73 |Dome","R|ecipeLis|
|00003280| 74 22 2c 28 22 52 65 63 | 69 70 65 20 6c 69 73 74 |t",("Rec|ipe list|
|00003290| 20 66 6f 72 20 20 22 26 | 74 68 65 20 73 68 6f 72 | for "&|the shor|
|000032a0| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|000032b0| 74 61 63 6b 29 0d 70 75 | 74 20 22 22 20 69 6e 74 |tack).pu|t "" int|
|000032c0| 6f 20 74 68 65 4c 69 73 | 74 0d 70 75 74 20 74 68 |o theLis|t.put th|
|000032d0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 74 68 65 20 |e number| of the |
|000032e0| 6c 61 73 74 20 63 61 72 | 64 20 69 6e 74 6f 20 74 |last car|d into t|
|000032f0| 6f 74 61 6c 43 61 72 64 | 73 0d 72 65 70 65 61 74 |otalCard|s.repeat|
|00003300| 20 77 69 74 68 20 69 20 | 3d 20 74 68 65 20 6e 75 | with i |= the nu|
|00003310| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00003320| 64 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |d to the| number |
|00003330| 6f 66 20 74 68 65 20 6c | 61 73 74 20 63 61 72 64 |of the l|ast card|
|00003340| 0d 73 65 74 20 22 74 68 | 65 50 65 72 63 65 6e 74 |.set "th|ePercent|
|00003350| 22 20 6f 66 20 77 69 6e | 64 6f 77 20 22 52 65 63 |" of win|dow "Rec|
|00003360| 69 70 65 4c 69 73 74 22 | 20 74 6f 20 69 2f 74 6f |ipeList"| to i/to|
|00003370| 74 61 6c 43 61 72 64 73 | 2a 31 30 30 0d 69 66 20 |talCards|*100.if |
|00003380| 62 6b 67 6e 64 20 66 6c | 64 20 72 65 63 69 70 65 |bkgnd fl|d recipe|
|00003390| 20 6f 66 20 63 64 20 69 | 20 69 73 20 6e 6f 74 20 | of cd i| is not |
|000033a0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 75 74 20 74 |empty th|en.put t|
|000033b0| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|000033c0| 20 63 61 72 64 20 69 20 | 69 6e 74 6f 20 63 61 72 | card i |into car|
|000033d0| 64 4e 61 6d 65 0d 69 66 | 20 74 68 65 20 6c 65 6e |dName.if| the len|
|000033e0| 67 74 68 20 6f 66 20 63 | 61 72 64 4e 61 6d 65 20 |gth of c|ardName |
|000033f0| 3c 20 38 20 74 68 65 6e | 0d 70 75 74 20 63 68 61 |< 8 then|.put cha|
|00003400| 72 20 37 20 6f 66 20 63 | 61 72 64 4e 61 6d 65 20 |r 7 of c|ardName |
|00003410| 69 6e 74 6f 20 72 65 63 | 69 70 65 4e 75 6d 62 65 |into rec|ipeNumbe|
|00003420| 72 0d 65 6c 73 65 0d 70 | 75 74 20 63 68 61 72 20 |r.else.p|ut char |
|00003430| 37 20 74 6f 20 38 20 6f | 66 20 63 61 72 64 4e 61 |7 to 8 o|f cardNa|
|00003440| 6d 65 20 69 6e 74 6f 20 | 72 65 63 69 70 65 4e 75 |me into |recipeNu|
|00003450| 6d 62 65 72 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |mber.end| if..if |
|00003460| 6c 69 6e 65 20 72 65 63 | 69 70 65 4e 75 6d 62 65 |line rec|ipeNumbe|
|00003470| 72 20 6f 66 20 6f 6c 64 | 48 65 61 64 65 72 4c 69 |r of old|HeaderLi|
|00003480| 73 74 20 3c 3e 20 6c 69 | 6e 65 20 72 65 63 69 70 |st <> li|ne recip|
|00003490| 65 4e 75 6d 62 65 72 20 | 6f 66 20 6e 65 77 48 65 |eNumber |of newHe|
|000034a0| 61 64 65 72 4c 69 73 74 | 20 74 68 65 6e 0d 70 75 |aderList| then.pu|
|000034b0| 74 20 22 2a 22 20 69 6e | 74 6f 20 77 61 72 6e 69 |t "*" in|to warni|
|000034c0| 6e 67 0d 65 6c 73 65 20 | 70 75 74 20 22 20 22 20 |ng.else |put " " |
|000034d0| 69 6e 74 6f 20 77 61 72 | 6e 69 6e 67 0d 0d 70 75 |into war|ning..pu|
|000034e0| 74 20 77 61 72 6e 69 6e | 67 26 28 6c 69 6e 65 20 |t warnin|g&(line |
|000034f0| 72 65 63 69 70 65 4e 75 | 6d 62 65 72 20 6f 66 20 |recipeNu|mber of |
|00003500| 6f 6c 64 48 65 61 64 65 | 72 4c 69 73 74 29 26 22 |oldHeade|rList)&"|
|00003510| 2c 22 26 28 62 6b 67 6e | 64 20 66 6c 64 20 52 65 |,"&(bkgn|d fld Re|
|00003520| 63 69 70 65 20 6f 66 20 | 63 64 20 69 29 26 22 2c |cipe of |cd i)&",|
|00003530| 22 26 63 61 72 64 4e 61 | 6d 65 26 22 2c 22 26 28 |"&cardNa|me&","&(|
|00003540| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00003550| 63 64 20 69 29 26 72 65 | 74 75 72 6e 20 61 66 74 |cd i)&re|turn aft|
|00003560| 65 72 20 74 68 65 4c 69 | 73 74 0d 65 6e 64 20 69 |er theLi|st.end i|
|00003570| 66 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 63 6c 6f |f.end re|peat.clo|
|00003580| 73 65 20 77 69 6e 64 6f | 77 20 22 52 65 63 69 70 |se windo|w "Recip|
|00003590| 65 4c 69 73 74 22 0d 72 | 65 74 75 72 6e 20 74 68 |eList".r|eturn th|
|000035a0| 65 4c 69 73 74 0d 65 6e | 64 20 72 65 63 69 70 65 |eList.en|d recipe|
|000035b0| 4c 69 73 74 0d 0d 6f 6e | 20 43 6f 70 79 43 61 72 |List..on| CopyCar|
|000035c0| 64 20 6f 6c 64 43 61 72 | 64 2c 20 6e 65 77 43 61 |d oldCar|d, newCa|
|000035d0| 72 64 0d 0d 2d 2d 2d 61 | 73 73 75 6d 65 73 20 69 |rd..---a|ssumes i|
|000035e0| 6e 70 75 74 20 6f 66 20 | 6c 6f 6e 67 20 6e 61 6d |nput of |long nam|
|000035f0| 65 20 6f 66 20 6f 6c 64 | 20 61 6e 64 20 6e 65 77 |e of old| and new|
|00003600| 20 63 61 72 64 20 61 6e | 64 20 74 68 65 79 20 65 | card an|d they e|
|00003610| 78 69 73 74 2e 20 20 47 | 6f 65 73 20 74 6f 20 6f |xist. G|oes to o|
|00003620| 6c 64 20 63 61 72 64 20 | 74 6f 20 63 6f 70 79 20 |ld card |to copy |
|00003630| 64 61 74 61 c2 0d 2d 2d | 2d 74 68 65 6e 20 67 6f |data..--|-then go|
|00003640| 65 73 20 74 6f 20 6e 65 | 77 20 63 61 72 64 20 73 |es to ne|w card s|
|00003650| 69 74 65 20 61 6e 64 20 | 69 6e 73 65 72 74 73 20 |ite and |inserts |
|00003660| 6e 65 77 20 63 61 72 64 | 2e 20 52 65 6d 61 69 6e |new card|. Remain|
|00003670| 73 20 61 74 20 6e 65 77 | 20 63 61 72 64 20 6c 6f |s at new| card lo|
|00003680| 63 61 74 69 6f 6e 2e 0d | 67 6f 20 6f 6c 64 43 61 |cation..|go oldCa|
|00003690| 72 64 0d 70 75 74 20 63 | 68 61 72 20 31 20 74 6f |rd.put c|har 1 to|
|000036a0| 20 33 35 20 6f 66 20 62 | 6b 67 6e 64 20 66 6c 64 | 35 of b|kgnd fld|
|000036b0| 20 22 52 65 63 69 70 65 | 22 20 69 6e 74 6f 20 52 | "Recipe|" into R|
|000036c0| 65 63 69 70 65 0d 70 75 | 74 20 62 6b 67 6e 64 20 |ecipe.pu|t bkgnd |
|000036d0| 66 6c 64 20 22 49 6e 67 | 72 65 64 69 61 6e 74 73 |fld "Ing|rediants|
|000036e0| 22 20 69 6e 74 6f 20 49 | 6e 67 72 65 64 69 61 6e |" into I|ngredian|
|000036f0| 74 73 0d 70 75 74 20 62 | 6b 67 6e 64 20 66 6c 64 |ts.put b|kgnd fld|
|00003700| 20 22 44 69 72 65 63 74 | 69 6f 6e 73 22 20 69 6e | "Direct|ions" in|
|00003710| 74 6f 20 44 69 72 65 63 | 74 69 6f 6e 73 0d 70 75 |to Direc|tions.pu|
|00003720| 74 20 62 6b 67 6e 64 20 | 66 6c 64 20 22 50 72 65 |t bkgnd |fld "Pre|
|00003730| 70 54 69 6d 65 22 20 69 | 6e 74 6f 20 50 72 65 70 |pTime" i|nto Prep|
|00003740| 54 69 6d 65 0d 70 75 74 | 20 62 6b 67 6e 64 20 66 |Time.put| bkgnd f|
|00003750| 6c 64 20 22 4e 61 74 69 | 6f 6e 61 6c 69 74 79 22 |ld "Nati|onality"|
|00003760| 20 69 6e 74 6f 20 4e 61 | 74 69 6f 6e 61 6c 69 74 | into Na|tionalit|
|00003770| 79 0d 70 75 74 20 62 6b | 67 6e 64 20 66 6c 64 20 |y.put bk|gnd fld |
|00003780| 22 44 69 66 66 69 63 75 | 6c 74 79 22 20 69 6e 74 |"Difficu|lty" int|
|00003790| 6f 20 44 69 66 66 69 63 | 75 6c 74 79 0d 70 75 74 |o Diffic|ulty.put|
|000037a0| 20 62 6b 67 6e 64 20 66 | 6c 64 20 22 46 72 65 65 | bkgnd f|ld "Free|
|000037b0| 7a 65 73 22 20 69 6e 74 | 6f 20 46 72 65 65 7a 65 |zes" int|o Freeze|
|000037c0| 73 0d 70 75 74 20 62 6b | 67 6e 64 20 66 6c 64 20 |s.put bk|gnd fld |
|000037d0| 22 52 65 66 72 69 67 22 | 20 69 6e 74 6f 20 72 65 |"Refrig"| into re|
|000037e0| 66 72 69 67 0d 70 75 74 | 20 62 6b 67 6e 64 20 66 |frig.put| bkgnd f|
|000037f0| 6c 64 20 22 53 65 72 76 | 65 73 22 20 69 6e 74 6f |ld "Serv|es" into|
|00003800| 20 73 65 72 76 65 73 0d | 70 75 74 20 62 6b 67 6e | serves.|put bkgn|
|00003810| 64 20 66 6c 64 20 22 72 | 65 66 65 72 65 6e 63 65 |d fld "r|eference|
|00003820| 22 20 69 6e 74 6f 20 20 | 72 65 66 65 72 65 6e 63 |" into |referenc|
|00003830| 65 0d 70 75 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |e.put hi|lite of |
|00003840| 62 6b 67 6e 64 20 62 74 | 6e 20 22 6c 61 63 74 6f |bkgnd bt|n "lacto|
|00003850| 22 20 69 6e 74 6f 20 6c | 61 63 74 6f 0d 70 75 74 |" into l|acto.put|
|00003860| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 6b 67 6e 64 | hilite |of bkgnd|
|00003870| 20 62 74 6e 20 22 6f 76 | 6f 22 20 69 6e 74 6f 20 | btn "ov|o" into |
|00003880| 6f 76 6f 0d 70 75 74 20 | 68 69 6c 69 74 65 20 6f |ovo.put |hilite o|
|00003890| 66 20 62 6b 67 6e 64 20 | 62 74 6e 20 22 6d 65 61 |f bkgnd |btn "mea|
|000038a0| 74 74 79 70 65 22 20 69 | 6e 74 6f 20 6d 65 61 74 |ttype" i|nto meat|
|000038b0| 74 79 70 65 0d 70 75 74 | 20 68 69 6c 69 74 65 20 |type.put| hilite |
|000038c0| 6f 66 20 62 6b 67 6e 64 | 20 62 74 6e 20 22 66 69 |of bkgnd| btn "fi|
|000038d0| 73 68 74 79 70 65 22 20 | 69 6e 74 6f 20 66 69 73 |shtype" |into fis|
|000038e0| 68 74 79 70 65 0d 69 66 | 20 74 68 65 72 65 20 69 |htype.if| there i|
|000038f0| 73 20 61 20 62 6b 67 6e | 64 20 62 74 6e 20 74 72 |s a bkgn|d btn tr|
|00003900| 69 65 64 20 74 68 65 6e | 0d 70 75 74 20 68 69 6c |ied then|.put hil|
|00003910| 69 74 65 20 6f 66 20 62 | 6b 67 6e 64 20 62 74 6e |ite of b|kgnd btn|
|00003920| 20 22 74 72 69 65 64 22 | 20 69 6e 74 6f 20 74 72 | "tried"| into tr|
|00003930| 69 65 64 0d 65 6c 73 65 | 0d 70 75 74 20 66 61 6c |ied.else|.put fal|
|00003940| 73 65 20 69 6e 74 6f 20 | 74 72 69 65 64 0d 65 6e |se into |tried.en|
|00003950| 64 20 69 66 0d 0d 2d 2d | 2d 4e 6f 77 20 73 77 69 |d if..--|-Now swi|
|00003960| 74 63 68 20 74 6f 20 74 | 68 65 20 73 74 61 63 6b |tch to t|he stack|
|00003970| 20 77 68 65 72 65 20 69 | 74 20 77 69 6c 6c 20 62 | where i|t will b|
|00003980| 65 20 6d 65 72 67 65 64 | 20 77 69 74 68 0d 67 6f |e merged| with.go|
|00003990| 20 6e 65 77 43 61 72 64 | 0d 0d 70 75 74 20 66 61 | newCard|..put fa|
|000039a0| 6c 73 65 20 69 6e 74 6f | 20 65 72 72 6f 72 43 61 |lse into| errorCa|
|000039b0| 72 64 0d 69 66 20 74 68 | 65 20 6c 6f 6e 67 20 6e |rd.if th|e long n|
|000039c0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ame of t|his card|
|000039d0| 20 69 73 20 6e 6f 74 20 | 6e 65 77 43 61 72 64 20 | is not |newCard |
|000039e0| 74 68 65 6e 0d 62 65 65 | 70 0d 61 6e 73 77 65 72 |then.bee|p.answer|
|000039f0| 20 22 43 61 6e 20 6e 6f | 74 20 66 69 6e 64 20 77 | "Can no|t find w|
|00003a00| 68 65 72 65 20 74 6f 20 | 70 75 74 20 74 68 69 73 |here to |put this|
|00003a10| 20 63 61 72 64 2e 20 20 | 53 6b 69 70 70 69 6e 67 | card. |Skipping|
|00003a20| 20 69 74 2e 22 20 77 69 | 74 68 20 6f 6b 61 79 0d | it." wi|th okay.|
|00003a30| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 65 72 |put true| into er|
|00003a40| 72 6f 72 43 61 72 64 0d | 65 6c 73 65 0d 2d 2d 2d |rorCard.|else.---|
|00003a50| 73 65 65 20 69 66 20 63 | 61 72 64 20 62 6c 61 6e |see if c|ard blan|
|00003a60| 6b 2c 20 69 66 20 6e 6f | 74 2c 20 6d 61 6b 65 20 |k, if no|t, make |
|00003a70| 61 20 6e 65 77 20 6f 6e | 65 0d 69 66 20 62 6b 67 |a new on|e.if bkg|
|00003a80| 6e 64 20 66 6c 64 20 22 | 52 65 63 69 70 65 22 20 |nd fld "|Recipe" |
|00003a90| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00003aa0| 6e 20 64 6f 20 41 64 64 | 43 61 72 64 0d 70 75 74 |n do Add|Card.put|
|00003ab0| 20 52 65 63 69 70 65 20 | 69 6e 74 6f 20 62 6b 67 | Recipe |into bkg|
|00003ac0| 6e 64 20 66 6c 64 20 22 | 52 65 63 69 70 65 22 0d |nd fld "|Recipe".|
|00003ad0| 70 75 74 20 49 6e 67 72 | 65 64 69 61 6e 74 73 20 |put Ingr|ediants |
|00003ae0| 69 6e 74 6f 20 62 6b 67 | 6e 64 20 66 6c 64 20 22 |into bkg|nd fld "|
|00003af0| 49 6e 67 72 65 64 69 61 | 6e 74 73 22 0d 70 75 74 |Ingredia|nts".put|
|00003b00| 20 44 69 72 65 63 74 69 | 6f 6e 73 20 69 6e 74 6f | Directi|ons into|
|00003b10| 20 62 6b 67 6e 64 20 66 | 6c 64 20 22 44 69 72 65 | bkgnd f|ld "Dire|
|00003b20| 63 74 69 6f 6e 73 22 0d | 70 75 74 20 50 72 65 70 |ctions".|put Prep|
|00003b30| 54 69 6d 65 20 69 6e 74 | 6f 20 62 6b 67 6e 64 20 |Time int|o bkgnd |
|00003b40| 66 6c 64 20 22 50 72 65 | 70 54 69 6d 65 22 0d 70 |fld "Pre|pTime".p|
|00003b50| 75 74 20 4e 61 74 69 6f | 6e 61 6c 69 74 79 20 69 |ut Natio|nality i|
|00003b60| 6e 74 6f 20 62 6b 67 6e | 64 20 66 6c 64 20 22 4e |nto bkgn|d fld "N|
|00003b70| 61 74 69 6f 6e 61 6c 69 | 74 79 22 0d 70 75 74 20 |ationali|ty".put |
|00003b80| 44 69 66 66 69 63 75 6c | 74 79 20 69 6e 74 6f 20 |Difficul|ty into |
|00003b90| 62 6b 67 6e 64 20 66 6c | 64 20 22 44 69 66 66 69 |bkgnd fl|d "Diffi|
|00003ba0| 63 75 6c 74 79 22 0d 70 | 75 74 20 46 72 65 65 7a |culty".p|ut Freez|
|00003bb0| 65 73 20 69 6e 74 6f 20 | 62 6b 67 6e 64 20 66 6c |es into |bkgnd fl|
|00003bc0| 64 20 22 46 72 65 65 7a | 65 73 22 0d 70 75 74 20 |d "Freez|es".put |
|00003bd0| 52 65 66 72 69 67 20 69 | 6e 74 6f 20 62 6b 67 6e |Refrig i|nto bkgn|
|00003be0| 64 20 66 6c 64 20 22 72 | 65 66 72 69 67 22 0d 70 |d fld "r|efrig".p|
|00003bf0| 75 74 20 53 65 72 76 65 | 73 20 69 6e 74 6f 20 62 |ut Serve|s into b|
|00003c00| 6b 67 6e 64 20 66 6c 64 | 20 22 73 65 72 76 65 73 |kgnd fld| "serves|
|00003c10| 22 0d 70 75 74 20 52 65 | 66 65 72 65 6e 63 65 20 |".put Re|ference |
|00003c20| 69 6e 74 6f 20 62 6b 67 | 6e 64 20 66 6c 64 20 22 |into bkg|nd fld "|
|00003c30| 72 65 66 65 72 65 6e 63 | 65 22 0d 73 65 74 20 68 |referenc|e".set h|
|00003c40| 69 6c 69 74 65 20 6f 66 | 20 62 6b 67 6e 64 20 62 |ilite of| bkgnd b|
|00003c50| 74 6e 20 22 6c 61 63 74 | 6f 22 20 74 6f 20 6c 61 |tn "lact|o" to la|
|00003c60| 63 74 6f 0d 73 65 74 20 | 68 69 6c 69 74 65 20 6f |cto.set |hilite o|
|00003c70| 66 20 62 6b 67 6e 64 20 | 62 74 6e 20 22 74 72 69 |f bkgnd |btn "tri|
|00003c80| 65 64 22 20 74 6f 20 74 | 72 69 65 64 0d 73 65 74 |ed" to t|ried.set|
|00003c90| 20 68 69 6c 69 74 65 20 | 6f 66 20 62 6b 67 6e 64 | hilite |of bkgnd|
|00003ca0| 20 62 74 6e 20 22 6f 76 | 6f 22 20 74 6f 20 6f 76 | btn "ov|o" to ov|
|00003cb0| 6f 0d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |o.set hi|lite of |
|00003cc0| 62 6b 67 6e 64 20 62 74 | 6e 20 22 6d 65 61 74 74 |bkgnd bt|n "meatt|
|00003cd0| 79 70 65 22 20 74 6f 20 | 6d 65 61 74 74 79 70 65 |ype" to |meattype|
|00003ce0| 0d 73 65 74 20 68 69 6c | 69 74 65 20 6f 66 20 62 |.set hil|ite of b|
|00003cf0| 6b 67 6e 64 20 62 74 6e | 20 22 66 69 73 68 74 79 |kgnd btn| "fishty|
|00003d00| 70 65 22 20 74 6f 20 66 | 69 73 68 74 79 70 65 0d |pe" to f|ishtype.|
|00003d10| 65 6e 64 20 69 66 0d 65 | 6e 64 20 43 6f 70 79 43 |end if.e|nd CopyC|
|00003d20| 61 72 64 0d 0d 0d 6f 6e | 20 42 72 6f 77 73 65 0d |ard...on| Browse.|
|00003d30| 69 66 20 68 69 6c 69 74 | 65 20 6f 66 20 63 64 20 |if hilit|e of cd |
|00003d40| 62 74 6e 20 22 48 69 64 | 65 20 53 65 61 72 63 68 |btn "Hid|e Search|
|00003d50| 22 20 6f 66 20 63 64 20 | 42 72 6f 77 73 65 20 74 |" of cd |Browse t|
|00003d60| 68 65 6e 0d 6c 6f 63 6b | 20 53 63 72 65 65 6e 0d |hen.lock| Screen.|
|00003d70| 65 6e 64 20 69 66 0d 0d | 2d 2d 73 74 61 72 74 20 |end if..|--start |
|00003d80| 6f 6e 20 63 6f 72 72 65 | 63 74 20 63 61 72 64 2f |on corre|ct card/|
|00003d90| 73 6b 69 70 20 6c 61 73 | 74 20 6d 61 74 63 68 69 |skip las|t matchi|
|00003da0| 6e 67 20 63 61 72 64 0d | 69 66 20 63 68 61 72 20 |ng card.|if char |
|00003db0| 37 20 74 6f 20 31 32 20 | 6f 66 20 6e 61 6d 65 20 |7 to 12 |of name |
|00003dc0| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 69 73 20 |of this |card is |
|00003dd0| 6e 6f 74 20 22 52 65 63 | 69 70 65 22 20 74 68 65 |not "Rec|ipe" the|
|00003de0| 6e 0d 67 6f 20 63 61 72 | 64 20 22 52 65 63 69 70 |n.go car|d "Recip|
|00003df0| 65 31 22 0d 65 6c 73 65 | 0d 67 6f 20 6e 65 78 74 |e1".else|.go next|
|00003e00| 20 63 61 72 64 0d 65 6e | 64 20 69 66 0d 0d 69 66 | card.en|d if..if|
|00003e10| 20 6e 6f 74 20 42 72 6f | 77 73 65 48 75 6e 74 69 | not Bro|wseHunti|
|00003e20| 6e 67 28 29 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |ng() the|n.answer|
|00003e30| 20 22 4d 61 74 63 68 20 | 6e 6f 74 20 66 6f 75 6e | "Match |not foun|
|00003e40| 64 2c 20 65 6e 74 65 72 | 20 6e 65 77 20 62 72 6f |d, enter| new bro|
|00003e50| 77 73 69 6e 67 20 70 61 | 72 61 6d 65 74 65 72 73 |wsing pa|rameters|
|00003e60| 3f 22 20 77 69 74 68 20 | 22 6e 6f 22 2c 20 22 79 |?" with |"no", "y|
|00003e70| 65 73 22 0d 69 66 20 69 | 74 20 69 73 20 22 79 65 |es".if i|t is "ye|
|00003e80| 73 22 20 74 68 65 6e 0d | 67 6f 20 63 61 72 64 20 |s" then.|go card |
|00003e90| 62 72 6f 77 73 65 0d 65 | 6c 73 65 0d 67 6f 20 63 |browse.e|lse.go c|
|00003ea0| 61 72 64 20 69 6e 64 65 | 78 0d 65 6e 64 20 69 66 |ard inde|x.end if|
|00003eb0| 0d 65 6c 73 65 20 69 66 | 20 68 69 6c 69 74 65 20 |.else if| hilite |
|00003ec0| 6f 66 20 63 64 20 62 74 | 6e 20 22 73 6f 75 6e 64 |of cd bt|n "sound|
|00003ed0| 22 20 6f 66 20 63 64 20 | 42 72 6f 77 73 65 20 74 |" of cd |Browse t|
|00003ee0| 68 65 6e 20 70 6c 61 79 | 20 22 57 69 6c 64 20 45 |hen play| "Wild E|
|00003ef0| 65 70 22 0d 75 6e 6c 6f | 63 6b 20 53 63 72 65 65 |ep".unlo|ck Scree|
|00003f00| 6e 0d 65 6e 64 20 42 72 | 6f 77 73 65 0d 0d 2d 2d |n.end Br|owse..--|
|00003f10| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 63 6f |This fun|ction co|
|00003f20| 6f 72 64 69 6e 61 74 65 | 73 20 6b 65 79 77 6f 72 |ordinate|s keywor|
|00003f30| 64 73 20 73 65 61 72 63 | 68 65 73 20 61 6e 64 20 |ds searc|hes and |
|00003f40| 53 74 65 70 53 65 61 72 | 63 68 0d 0d 66 75 6e 63 |StepSear|ch..func|
|00003f50| 74 69 6f 6e 20 42 72 6f | 77 73 65 48 75 6e 74 69 |tion Bro|wseHunti|
|00003f60| 6e 67 0d 69 66 20 68 69 | 6c 69 74 65 20 6f 66 20 |ng.if hi|lite of |
|00003f70| 63 64 20 62 75 74 74 6f | 6e 20 22 4b 65 79 20 57 |cd butto|n "Key W|
|00003f80| 6f 72 64 22 20 6f 66 20 | 63 64 20 42 72 6f 77 73 |ord" of |cd Brows|
|00003f90| 65 20 74 68 65 6e 0d 70 | 75 74 20 4b 65 79 57 6f |e then.p|ut KeyWo|
|00003fa0| 72 64 4d 61 74 63 68 65 | 73 28 29 20 69 6e 74 6f |rdMatche|s() into|
|00003fb0| 20 6d 61 74 63 68 52 65 | 73 75 6c 74 73 0d 65 6c | matchRe|sults.el|
|00003fc0| 73 65 0d 70 75 74 20 53 | 74 65 70 53 65 61 72 63 |se.put S|tepSearc|
|00003fd0| 68 28 29 20 69 6e 74 6f | 20 6d 61 74 63 68 52 65 |h() into| matchRe|
|00003fe0| 73 75 6c 74 73 0d 65 6e | 64 20 69 66 0d 72 65 74 |sults.en|d if.ret|
|00003ff0| 75 72 6e 20 4d 61 74 63 | 68 52 65 73 75 6c 74 73 |urn Matc|hResults|
|00004000| 0d 65 6e 64 20 42 72 6f | 77 73 65 48 75 6e 74 69 |.end Bro|wseHunti|
|00004010| 6e 67 0d 0d 0d 2d 2d 20 | 54 68 69 73 20 66 75 6e |ng...-- |This fun|
|00004020| 63 74 69 6f 6e 20 63 68 | 65 63 6b 73 20 74 6f 20 |ction ch|ecks to |
|00004030| 73 65 65 20 69 66 20 62 | 72 6f 77 73 65 20 72 61 |see if b|rowse ra|
|00004040| 64 69 6f 20 62 75 74 74 | 6f 6e 73 20 6d 61 74 63 |dio butt|ons matc|
|00004050| 68 20 63 75 72 72 65 6e | 74 20 63 61 72 64 0d 2d |h curren|t card.-|
|00004060| 2d 20 73 65 61 72 63 68 | 20 63 72 69 74 65 72 69 |- search| criteri|
|00004070| 61 2e 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 4f 74 68 |a...func|tion Oth|
|00004080| 65 72 4d 61 74 63 68 65 | 73 0d 70 75 74 20 74 72 |erMatche|s.put tr|
|00004090| 75 65 20 69 6e 74 6f 20 | 4d 61 74 63 68 52 65 73 |ue into |MatchRes|
|000040a0| 75 6c 74 73 0d 69 66 20 | 68 69 6c 69 74 65 20 6f |ults.if |hilite o|
|000040b0| 66 20 63 64 20 62 75 74 | 74 6f 6e 20 22 4c 61 63 |f cd but|ton "Lac|
|000040c0| 74 6f 73 65 20 46 72 65 | 65 22 20 6f 66 20 63 64 |tose Fre|e" of cd|
|000040d0| 20 42 72 6f 77 73 65 20 | 61 6e 64 20 6e 6f 74 20 | Browse |and not |
|000040e0| 68 69 6c 69 74 65 20 6f | 66 20 62 6b 67 6e 64 20 |hilite o|f bkgnd |
|000040f0| 62 75 74 74 6f 6e 20 22 | 4c 61 63 74 6f 22 20 74 |button "|Lacto" t|
|00004100| 68 65 6e 20 70 75 74 20 | 66 61 6c 73 65 20 69 6e |hen put |false in|
|00004110| 74 6f 20 6d 61 74 63 68 | 52 65 73 75 6c 74 73 0d |to match|Results.|
|00004120| 0d 69 66 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 |.if hili|te of cd|
|00004130| 20 62 75 74 74 6f 6e 20 | 22 6f 76 6f 22 20 6f 66 | button |"ovo" of|
|00004140| 20 63 64 20 42 72 6f 77 | 73 65 20 61 6e 64 20 6e | cd Brow|se and n|
|00004150| 6f 74 20 68 69 6c 69 74 | 65 20 6f 66 20 62 6b 67 |ot hilit|e of bkg|
|00004160| 6e 64 20 62 75 74 74 6f | 6e 20 22 6f 76 6f 22 20 |nd butto|n "ovo" |
|00004170| 74 68 65 6e 20 70 75 74 | 20 66 61 6c 73 65 20 69 |then put| false i|
|00004180| 6e 74 6f 20 6d 61 74 63 | 68 52 65 73 75 6c 74 73 |nto matc|hResults|
|00004190| 0d 69 66 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 |.if hili|te of cd|
|000041a0| 20 62 75 74 74 6f 6e 20 | 22 54 72 69 65 64 22 20 | button |"Tried" |
|000041b0| 6f 66 20 63 64 20 42 72 | 6f 77 73 65 20 61 6e 64 |of cd Br|owse and|
|000041c0| 20 6e 6f 74 20 68 69 6c | 69 74 65 20 6f 66 20 62 | not hil|ite of b|
|000041d0| 6b 67 6e 64 20 62 75 74 | 74 6f 6e 20 22 54 72 69 |kgnd but|ton "Tri|
|000041e0| 65 64 22 20 74 68 65 6e | 20 70 75 74 20 66 61 6c |ed" then| put fal|
|000041f0| 73 65 20 69 6e 74 6f 20 | 6d 61 74 63 68 52 65 73 |se into |matchRes|
|00004200| 75 6c 74 73 0d 0d 69 66 | 20 68 69 6c 69 74 65 20 |ults..if| hilite |
|00004210| 6f 66 20 63 64 20 62 75 | 74 74 6f 6e 20 22 4d 65 |of cd bu|tton "Me|
|00004220| 61 74 22 20 6f 66 20 63 | 64 20 42 72 6f 77 73 65 |at" of c|d Browse|
|00004230| 20 61 6e 64 20 6e 6f 74 | 20 68 69 6c 69 74 65 20 | and not| hilite |
|00004240| 6f 66 20 62 6b 67 6e 64 | 20 62 75 74 74 6f 6e 20 |of bkgnd| button |
|00004250| 22 4d 65 61 74 54 79 70 | 65 22 20 74 68 65 6e 20 |"MeatTyp|e" then |
|00004260| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 6d |put fals|e into m|
|00004270| 61 74 63 68 52 65 73 75 | 6c 74 73 0d 0d 69 66 20 |atchResu|lts..if |
|00004280| 68 69 6c 69 74 65 20 6f | 66 20 63 64 20 62 75 74 |hilite o|f cd but|
|00004290| 74 6f 6e 20 22 46 69 73 | 68 22 20 6f 66 20 63 64 |ton "Fis|h" of cd|
|000042a0| 20 42 72 6f 77 73 65 20 | 61 6e 64 20 6e 6f 74 20 | Browse |and not |
|000042b0| 68 69 6c 69 74 65 20 6f | 66 20 62 6b 67 6e 64 20 |hilite o|f bkgnd |
|000042c0| 62 75 74 74 6f 6e 20 22 | 46 69 73 68 54 79 70 65 |button "|FishType|
|000042d0| 22 20 74 68 65 6e 20 70 | 75 74 20 66 61 6c 73 65 |" then p|ut false|
|000042e0| 20 69 6e 74 6f 20 6d 61 | 74 63 68 52 65 73 75 6c | into ma|tchResul|
|000042f0| 74 73 0d 0d 69 66 20 68 | 69 6c 69 74 65 20 6f 66 |ts..if h|ilite of|
|00004300| 20 63 64 20 62 75 74 74 | 6f 6e 20 22 56 65 67 65 | cd butt|on "Vege|
|00004310| 74 61 72 69 61 6e 22 20 | 6f 66 20 63 64 20 42 72 |tarian" |of cd Br|
|00004320| 6f 77 73 65 20 61 6e 64 | 20 6e 6f 74 20 68 69 6c |owse and| not hil|
|00004330| 69 74 65 20 6f 66 20 62 | 6b 67 6e 64 20 62 75 74 |ite of b|kgnd but|
|00004340| 74 6f 6e 20 22 56 65 67 | 65 74 61 72 69 61 6e 54 |ton "Veg|etarianT|
|00004350| 79 70 65 22 20 74 68 65 | 6e 20 70 75 74 20 66 61 |ype" the|n put fa|
|00004360| 6c 73 65 20 69 6e 74 6f | 20 6d 61 74 63 68 52 65 |lse into| matchRe|
|00004370| 73 75 6c 74 73 0d 0d 70 | 75 74 20 63 68 61 72 20 |sults..p|ut char |
|00004380| 31 33 20 74 6f 20 31 34 | 20 6f 66 20 6e 61 6d 65 |13 to 14| of name|
|00004390| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 6e | of this| card in|
|000043a0| 74 6f 20 69 74 0d 69 66 | 20 6c 61 73 74 20 63 68 |to it.if| last ch|
|000043b0| 61 72 20 6f 66 20 69 74 | 20 69 73 20 71 75 6f 74 |ar of it| is quot|
|000043c0| 65 20 74 68 65 6e 0d 70 | 75 74 20 66 69 72 73 74 |e then.p|ut first|
|000043d0| 20 63 68 61 72 20 6f 66 | 20 69 74 20 69 6e 74 6f | char of| it into|
|000043e0| 20 69 74 0d 65 6e 64 20 | 69 66 0d 69 66 20 68 69 | it.end |if.if hi|
|000043f0| 6c 69 74 65 20 6f 66 20 | 63 64 20 62 74 6e 20 28 |lite of |cd btn (|
|00004400| 22 4d 22 26 28 28 74 72 | 75 6e 63 20 6f 66 20 28 |"M"&((tr|unc of (|
|00004410| 28 69 74 2d 31 29 2f 37 | 29 29 2b 31 29 29 20 6f |(it-1)/7|))+1)) o|
|00004420| 66 20 63 64 20 62 72 6f | 77 73 65 20 69 73 20 6e |f cd bro|wse is n|
|00004430| 6f 74 20 74 72 75 65 20 | 74 68 65 6e 0d 70 75 74 |ot true |then.put|
|00004440| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 4d 61 74 63 | false i|nto Matc|
|00004450| 68 52 65 73 75 6c 74 73 | 0d 65 6e 64 20 69 66 0d |hResults|.end if.|
|00004460| 72 65 74 75 72 6e 20 4d | 61 74 63 68 52 65 73 75 |return M|atchResu|
|00004470| 6c 74 73 0d 65 6e 64 20 | 4f 74 68 65 72 4d 61 74 |lts.end |OtherMat|
|00004480| 63 68 65 73 0d 0d 0d 2d | 2d 54 68 69 73 20 66 75 |ches...-|-This fu|
|00004490| 6e 63 74 69 6f 6e 20 68 | 75 6e 74 73 20 66 6f 72 |nction h|unts for|
|000044a0| 20 6b 65 79 77 6f 72 64 | 73 20 28 62 6f 6f 6c 65 | keyword|s (boole|
|000044b0| 61 6e 29 20 61 6e 64 20 | 6d 61 6b 65 73 20 73 75 |an) and |makes su|
|000044c0| 72 65 20 74 68 65 20 72 | 61 64 69 6f 0d 2d 2d 62 |re the r|adio.--b|
|000044d0| 75 74 74 6f 6e 73 20 6d | 61 74 63 68 75 70 2e 0d |uttons m|atchup..|
|000044e0| 0d 66 75 6e 63 74 69 6f | 6e 20 4b 65 79 57 6f 72 |.functio|n KeyWor|
|000044f0| 64 4d 61 74 63 68 65 73 | 0d 75 6e 6d 61 72 6b 20 |dMatches|.unmark |
|00004500| 61 6c 6c 20 63 61 72 64 | 73 0d 70 75 74 20 6e 75 |all card|s.put nu|
|00004510| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00004520| 64 20 69 6e 74 6f 20 73 | 74 61 72 74 69 6e 67 43 |d into s|tartingC|
|00004530| 61 72 64 0d 70 75 74 20 | 74 72 75 65 20 69 6e 74 |ard.put |true int|
|00004540| 6f 20 6c 6f 6f 6b 69 6e | 67 0d 70 75 74 20 66 61 |o lookin|g.put fa|
|00004550| 6c 73 65 20 69 6e 74 6f | 20 6d 61 74 63 68 52 65 |lse into| matchRe|
|00004560| 73 75 6c 74 73 0d 70 75 | 74 20 22 22 20 69 6e 74 |sults.pu|t "" int|
|00004570| 6f 20 66 69 72 73 74 46 | 6f 75 6e 64 0d 0d 72 65 |o firstF|ound..re|
|00004580| 70 65 61 74 20 77 68 69 | 6c 65 20 6c 6f 6f 6b 69 |peat whi|le looki|
|00004590| 6e 67 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ng.set c|ursor to|
|000045a0| 20 62 75 73 79 0d 66 69 | 6e 64 20 73 74 72 69 6e | busy.fi|nd strin|
|000045b0| 67 20 28 63 64 20 66 6c | 64 20 22 4b 65 79 20 57 |g (cd fl|d "Key W|
|000045c0| 6f 72 64 22 20 6f 66 20 | 63 64 20 42 72 6f 77 73 |ord" of |cd Brows|
|000045d0| 65 29 0d 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |e)..if t|he resul|
|000045e0| 74 20 69 73 20 6e 6f 74 | 20 22 6e 6f 74 20 66 6f |t is not| "not fo|
|000045f0| 75 6e 64 22 20 74 68 65 | 6e 0d 70 75 74 20 6e 75 |und" the|n.put nu|
|00004600| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 61 72 |mber of |this car|
|00004610| 64 20 69 6e 74 6f 20 63 | 75 72 72 65 6e 74 43 61 |d into c|urrentCa|
|00004620| 72 64 0d 69 66 20 66 69 | 72 73 74 46 6f 75 6e 64 |rd.if fi|rstFound|
|00004630| 20 69 73 20 22 22 20 74 | 68 65 6e 0d 70 75 74 20 | is "" t|hen.put |
|00004640| 69 64 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 20 |id of th|is card |
|00004650| 69 6e 74 6f 20 66 69 72 | 73 74 46 6f 75 6e 64 0d |into fir|stFound.|
|00004660| 65 6c 73 65 20 69 66 20 | 69 64 20 6f 66 20 74 68 |else if |id of th|
|00004670| 69 73 20 63 64 20 3d 20 | 66 69 72 73 74 66 6f 75 |is cd = |firstfou|
|00004680| 6e 64 20 74 68 65 6e 0d | 70 75 74 20 66 61 6c 73 |nd then.|put fals|
|00004690| 65 20 69 6e 74 6f 20 6c | 6f 6f 6b 69 6e 67 0d 65 |e into l|ooking.e|
|000046a0| 6e 64 20 69 66 0d 0d 69 | 66 20 6c 6f 6f 6b 69 6e |nd if..i|f lookin|
|000046b0| 67 20 74 68 65 6e 0d 6d | 61 72 6b 20 74 68 69 73 |g then.m|ark this|
|000046c0| 20 63 61 72 64 0d 69 66 | 20 68 69 6c 69 74 65 20 | card.if| hilite |
|000046d0| 6f 66 20 63 64 20 62 75 | 74 74 6f 6e 20 22 61 6e |of cd bu|tton "an|
|000046e0| 64 22 20 6f 66 20 63 64 | 20 42 72 6f 77 73 65 20 |d" of cd| Browse |
|000046f0| 74 68 65 6e 0d 66 69 6e | 64 20 28 63 64 20 66 6c |then.fin|d (cd fl|
|00004700| 64 20 22 4b 65 79 20 57 | 6f 72 64 32 22 20 6f 66 |d "Key W|ord2" of|
|00004710| 20 63 64 20 42 72 6f 77 | 73 65 29 20 6f 66 20 6d | cd Brow|se) of m|
|00004720| 61 72 6b 65 64 20 63 61 | 72 64 73 0d 69 66 20 74 |arked ca|rds.if t|
|00004730| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00004740| 20 22 4e 6f 74 20 66 6f | 75 6e 64 22 20 61 6e 64 | "Not fo|und" and|
|00004750| 20 4f 74 68 65 72 4d 61 | 74 63 68 65 73 28 29 20 | OtherMa|tches() |
|00004760| 74 68 65 6e 0d 70 75 74 | 20 74 72 75 65 20 69 6e |then.put| true in|
|00004770| 74 6f 20 6d 61 74 63 68 | 52 65 73 75 6c 74 73 0d |to match|Results.|
|00004780| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 6c |put fals|e into l|
|00004790| 6f 6f 6b 69 6e 67 0d 65 | 6e 64 20 69 66 0d 65 6c |ooking.e|nd if.el|
|000047a0| 73 65 20 69 66 20 68 69 | 6c 69 74 65 20 6f 66 20 |se if hi|lite of |
|000047b0| 63 64 20 62 75 74 74 6f | 6e 20 22 6e 6f 74 22 20 |cd butto|n "not" |
|000047c0| 6f 66 20 63 64 20 42 72 | 6f 77 73 65 20 74 68 65 |of cd Br|owse the|
|000047d0| 6e 0d 66 69 6e 64 20 28 | 63 64 20 66 6c 64 20 22 |n.find (|cd fld "|
|000047e0| 4b 65 79 20 57 6f 72 64 | 32 22 20 6f 66 20 63 64 |Key Word|2" of cd|
|000047f0| 20 42 72 6f 77 73 65 29 | 20 6f 66 20 6d 61 72 6b | Browse)| of mark|
|00004800| 65 64 20 63 61 72 64 73 | 0d 69 66 20 74 68 65 20 |ed cards|.if the |
|00004810| 72 65 73 75 6c 74 20 69 | 73 20 22 4e 6f 74 20 66 |result i|s "Not f|
|00004820| 6f 75 6e 64 22 20 61 6e | 64 20 4f 74 68 65 72 4d |ound" an|d OtherM|
|00004830| 61 74 63 68 65 73 28 29 | 20 74 68 65 6e 0d 70 75 |atches()| then.pu|
|00004840| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 6d 61 74 63 |t true i|nto matc|
|00004850| 68 52 65 73 75 6c 74 73 | 0d 70 75 74 20 66 61 6c |hResults|.put fal|
|00004860| 73 65 20 69 6e 74 6f 20 | 6c 6f 6f 6b 69 6e 67 0d |se into |looking.|
|00004870| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 69 66 20 4f |end if.e|lse if O|
|00004880| 74 68 65 72 4d 61 74 63 | 68 65 73 28 29 20 74 68 |therMatc|hes() th|
|00004890| 65 6e 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en.put t|rue into|
|000048a0| 20 6d 61 74 63 68 52 65 | 73 75 6c 74 73 0d 70 75 | matchRe|sults.pu|
|000048b0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 6c 6f 6f |t false |into loo|
|000048c0| 6b 69 6e 67 0d 65 6e 64 | 20 69 66 20 2d 2d 4b 57 |king.end| if --KW|
|000048d0| 31 20 6d 61 74 63 68 2c | 6e 6f 20 6e 6f 74 20 26 |1 match,|no not &|
|000048e0| 20 61 6e 64 0d 75 6e 6d | 61 72 6b 20 74 68 69 73 | and.unm|ark this|
|000048f0| 20 63 61 72 64 0d 65 6e | 64 20 69 66 20 2d 2d 6c | card.en|d if --l|
|00004900| 6f 6f 6b 69 6e 67 20 66 | 6f 72 20 2d 2d 0d 65 6c |ooking f|or --.el|
|00004910| 73 65 20 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |se put f|alse int|
|00004920| 6f 20 6c 6f 6f 6b 69 6e | 67 20 2d 2d 73 69 6e 63 |o lookin|g --sinc|
|00004930| 65 20 6b 65 79 77 6f 72 | 64 20 6e 6f 74 20 66 6f |e keywor|d not fo|
|00004940| 75 6e 64 20 6e 6f 20 70 | 6f 69 6e 74 20 69 6e 20 |und no p|oint in |
|00004950| 67 6f 69 6e 67 20 6f 6e | 0d 0d 69 66 20 6e 6f 74 |going on|..if not|
|00004960| 20 6d 61 74 63 68 52 65 | 73 75 6c 74 73 20 61 6e | matchRe|sults an|
|00004970| 64 20 6c 6f 6f 6b 69 6e | 67 20 74 68 65 6e 20 2d |d lookin|g then -|
|00004980| 2d 73 74 69 6c 6c 20 68 | 75 6e 74 69 6e 67 0d 67 |-still h|unting.g|
|00004990| 6f 20 6e 65 78 74 20 63 | 61 72 64 0d 65 6e 64 20 |o next c|ard.end |
|000049a0| 69 66 0d 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 2d |if..end |repeat.-|
|000049b0| 2d 27 6f 72 27 20 77 69 | 6c 6c 20 6f 76 65 72 69 |-'or' wi|ll overi|
|000049c0| 64 65 20 61 6e 20 61 62 | 6f 76 65 20 6e 65 67 61 |de an ab|ove nega|
|000049d0| 74 69 76 65 20 73 65 61 | 72 63 68 20 72 65 73 75 |tive sea|rch resu|
|000049e0| 6c 74 73 0d 69 66 20 68 | 69 6c 69 74 65 20 6f 66 |lts.if h|ilite of|
|000049f0| 20 63 64 20 62 75 74 74 | 6f 6e 20 22 6f 72 22 20 | cd butt|on "or" |
|00004a00| 6f 66 20 63 64 20 42 72 | 6f 77 73 65 20 74 68 65 |of cd Br|owse the|
|00004a10| 6e 0d 67 6f 20 63 61 72 | 64 20 73 74 61 72 74 69 |n.go car|d starti|
|00004a20| 6e 67 43 61 72 64 0d 66 | 69 6e 64 20 28 63 64 20 |ngCard.f|ind (cd |
|00004a30| 66 6c 64 20 22 4b 65 79 | 20 57 6f 72 64 32 22 20 |fld "Key| Word2" |
|00004a40| 6f 66 20 63 64 20 42 72 | 6f 77 73 65 29 0d 69 66 |of cd Br|owse).if|
|00004a50| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 6e | the res|ult is n|
|00004a60| 6f 74 20 22 4e 6f 74 20 | 66 6f 75 6e 64 22 20 61 |ot "Not |found" a|
|00004a70| 6e 64 20 4f 74 68 65 72 | 4d 61 74 63 68 65 73 28 |nd Other|Matches(|
|00004a80| 29 20 74 68 65 6e 0d 69 | 66 20 6e 6f 74 20 6d 61 |) then.i|f not ma|
|00004a90| 74 63 68 52 65 73 75 6c | 74 73 20 74 68 65 6e 0d |tchResul|ts then.|
|00004aa0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 6d 61 |put true| into ma|
|00004ab0| 74 63 68 52 65 73 75 6c | 74 73 0d 65 6c 73 65 0d |tchResul|ts.else.|
|00004ac0| 69 66 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |if (the |number o|
|00004ad0| 66 20 74 68 69 73 20 63 | 61 72 64 29 20 3e 20 63 |f this c|ard) > c|
|00004ae0| 75 72 72 65 6e 74 43 61 | 72 64 c2 0d 61 6e 64 20 |urrentCa|rd..and |
|00004af0| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 |(the num|ber of t|
|00004b00| 68 69 73 20 63 61 72 64 | 29 20 3e 20 73 74 61 72 |his card|) > star|
|00004b10| 74 69 6e 67 43 61 72 64 | 20 74 68 65 6e 20 67 6f |tingCard| then go|
|00004b20| 20 63 61 72 64 20 63 75 | 72 72 65 6e 74 43 61 72 | card cu|rrentCar|
|00004b30| 64 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |d.end if|.end if.|
|00004b40| 0d 65 6e 64 20 69 66 0d | 72 65 74 75 72 6e 20 4d |.end if.|return M|
|00004b50| 61 74 63 68 52 65 73 75 | 6c 74 73 0d 65 6e 64 20 |atchResu|lts.end |
|00004b60| 4b 65 79 57 6f 72 64 4d | 61 74 63 68 65 73 0d 0d |KeyWordM|atches..|
|00004b70| 0d 2d 2d 74 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |.--this |function|
|00004b80| 20 73 74 65 70 73 20 74 | 68 72 6f 75 67 68 20 65 | steps t|hrough e|
|00004b90| 61 63 68 20 72 65 63 69 | 70 65 20 63 61 72 64 20 |ach reci|pe card |
|00004ba0| 61 6e 64 20 63 68 65 63 | 6b 73 20 69 66 20 69 74 |and chec|ks if it|
|00004bb0| 73 0d 2d 2d 63 68 61 72 | 61 63 74 65 72 69 73 74 |s.--char|acterist|
|00004bc0| 69 63 73 20 6d 61 74 63 | 68 20 74 68 65 20 72 61 |ics matc|h the ra|
|00004bd0| 64 69 6f 20 62 75 74 74 | 6f 6e 73 0d 0d 66 75 6e |dio butt|ons..fun|
|00004be0| 63 74 69 6f 6e 20 53 74 | 65 70 53 65 61 72 63 68 |ction St|epSearch|
|00004bf0| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00004c00| 6d 61 74 63 68 52 65 73 | 75 6c 74 73 0d 70 75 74 |matchRes|ults.put|
|00004c10| 20 66 61 6c 73 65 20 69 | 6e 74 6f 20 64 6f 6e 65 | false i|nto done|
|00004c20| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 64 6f |.repeat |until do|
|00004c30| 6e 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ne.set c|ursor to|
|00004c40| 20 62 75 73 79 0d 69 66 | 20 4f 74 68 65 72 4d 61 | busy.if| OtherMa|
|00004c50| 74 63 68 65 73 28 29 20 | 74 68 65 6e 0d 70 75 74 |tches() |then.put|
|00004c60| 20 74 72 75 65 20 69 6e | 74 6f 20 6d 61 74 63 68 | true in|to match|
|00004c70| 52 65 73 75 6c 74 73 0d | 70 75 74 20 74 72 75 65 |Results.|put true|
|00004c80| 20 69 6e 74 6f 20 64 6f | 6e 65 0d 65 6c 73 65 0d | into do|ne.else.|
|00004c90| 69 66 20 74 68 65 20 69 | 64 20 6f 66 20 74 68 69 |if the i|d of thi|
|00004ca0| 73 20 63 61 72 64 20 69 | 73 20 74 68 65 20 69 64 |s card i|s the id|
|00004cb0| 20 6f 66 20 6c 61 73 74 | 20 63 61 72 64 20 74 68 | of last| card th|
|00004cc0| 65 6e 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en.put t|rue into|
|00004cd0| 20 64 6f 6e 65 0d 65 6c | 73 65 0d 67 6f 20 6e 65 | done.el|se.go ne|
|00004ce0| 78 74 20 63 61 72 64 0d | 65 6e 64 20 69 66 0d 65 |xt card.|end if.e|
|00004cf0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00004d00| 0d 72 65 74 75 72 6e 20 | 6d 61 74 63 68 52 65 73 |.return |matchRes|
|00004d10| 75 6c 74 73 0d 65 6e 64 | 20 53 74 65 70 53 65 61 |ults.end| StepSea|
|00004d20| 72 63 68 0d 0d 2d 2d 74 | 68 69 73 20 70 72 6f 63 |rch..--t|his proc|
|00004d30| 65 64 75 72 65 20 72 65 | 6d 6f 76 65 73 20 61 6c |edure re|moves al|
|00004d40| 6c 20 72 65 63 69 70 65 | 73 20 66 72 6f 6d 20 73 |l recipe|s from s|
|00004d50| 74 61 63 6b 0d 6f 6e 20 | 4d 61 6b 65 56 69 72 67 |tack.on |MakeVirg|
|00004d60| 69 6e 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 67 |in.lock |screen.g|
|00004d70| 6f 20 6c 69 6e 65 20 31 | 20 6f 66 20 63 64 20 66 |o line 1| of cd f|
|00004d80| 6c 64 20 69 64 73 6f 66 | 52 65 63 69 70 65 20 6f |ld idsof|Recipe o|
|00004d90| 66 20 63 64 20 43 6f 6e | 76 65 72 73 69 6f 6e 0d |f cd Con|version.|
|00004da0| 73 65 74 20 75 73 65 72 | 6c 65 76 65 6c 20 74 6f |set user|level to|
|00004db0| 20 35 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 | 5.put f|alse int|
|00004dc0| 6f 20 64 6f 6e 65 0d 70 | 75 74 20 74 68 65 20 6e |o done.p|ut the n|
|00004dd0| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 73 20 69 |umber of| cards i|
|00004de0| 6e 20 74 68 69 73 20 73 | 74 61 63 6b 20 2d 20 74 |n this s|tack - t|
|00004df0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 64 20 |he numbe|r of cd |
|00004e00| 22 52 65 63 69 70 65 31 | 22 20 69 6e 74 6f 20 74 |"Recipe1|" into t|
|00004e10| 6f 74 61 6c 43 61 72 64 | 73 0d 70 75 74 20 30 20 |otalCard|s.put 0 |
|00004e20| 69 6e 74 6f 20 7a 61 70 | 70 65 64 0d 50 72 6f 67 |into zap|ped.Prog|
|00004e30| 72 65 73 73 57 69 6e 64 | 6f 77 20 22 a9 44 6f 6d |ressWind|ow ".Dom|
|00004e40| 65 22 2c 22 44 65 6c 65 | 74 69 6e 67 22 2c 22 4e |e","Dele|ting","N|
|00004e50| 6f 77 20 64 65 6c 65 74 | 69 6e 67 20 61 6c 6c 20 |ow delet|ing all |
|00004e60| 72 65 63 69 70 65 73 22 | 0d 72 65 70 65 61 74 20 |recipes"|.repeat |
|00004e70| 77 68 69 6c 65 20 6e 6f | 74 20 64 6f 6e 65 0d 70 |while no|t done.p|
|00004e80| 75 74 20 31 20 2b 20 7a | 61 70 70 65 64 20 69 6e |ut 1 + z|apped in|
|00004e90| 74 6f 20 7a 61 70 70 65 | 64 0d 73 65 74 20 22 74 |to zappe|d.set "t|
|00004ea0| 68 65 50 65 72 63 65 6e | 74 22 20 6f 66 20 77 69 |hePercen|t" of wi|
|00004eb0| 6e 64 6f 77 20 22 44 65 | 6c 65 74 69 6e 67 22 20 |ndow "De|leting" |
|00004ec0| 74 6f 20 28 7a 61 70 70 | 65 64 2f 74 6f 74 61 6c |to (zapp|ed/total|
|00004ed0| 43 61 72 64 73 20 2a 20 | 31 30 30 29 0d 69 66 20 |Cards * |100).if |
|00004ee0| 63 61 6e 74 44 65 6c 65 | 74 65 20 6f 66 20 74 68 |cantDele|te of th|
|00004ef0| 69 73 20 63 61 72 64 20 | 69 73 20 74 72 75 65 20 |is card |is true |
|00004f00| 74 68 65 6e 0d 64 6f 43 | 6c 65 61 72 43 61 72 64 |then.doC|learCard|
|00004f10| 0d 67 6f 20 6e 65 78 74 | 20 63 61 72 64 0d 69 66 |.go next| card.if|
|00004f20| 20 69 64 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 | id of t|his card|
|00004f30| 20 3d 20 69 64 20 6f 66 | 20 66 69 72 73 74 20 63 | = id of| first c|
|00004f40| 61 72 64 20 74 68 65 6e | 0d 70 75 74 20 74 72 75 |ard then|.put tru|
|00004f50| 65 20 69 6e 74 6f 20 64 | 6f 6e 65 0d 65 6e 64 20 |e into d|one.end |
|00004f60| 69 66 0d 65 6c 73 65 0d | 64 6f 6d 65 6e 75 20 22 |if.else.|domenu "|
|00004f70| 43 75 74 20 43 61 72 64 | 22 0d 69 66 20 69 64 20 |Cut Card|".if id |
|00004f80| 6f 66 20 74 68 69 73 20 | 63 61 72 64 20 3d 20 69 |of this |card = i|
|00004f90| 64 20 6f 66 20 66 69 72 | 73 74 20 63 61 72 64 20 |d of fir|st card |
|00004fa0| 74 68 65 6e 0d 70 75 74 | 20 74 72 75 65 20 69 6e |then.put| true in|
|00004fb0| 74 6f 20 64 6f 6e 65 0d | 65 6e 64 20 69 66 0d 65 |to done.|end if.e|
|00004fc0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00004fd0| 0d 0d 73 65 74 20 22 74 | 68 65 54 65 78 74 22 20 |..set "t|heText" |
|00004fe0| 6f 66 20 77 69 6e 64 6f | 77 20 22 44 65 6c 65 74 |of windo|w "Delet|
|00004ff0| 69 6e 67 22 20 74 6f 20 | 22 4e 6f 77 20 55 70 64 |ing" to |"Now Upd|
|00005000| 61 74 69 6e 67 20 49 6e | 64 65 78 22 0d 72 65 70 |ating In|dex".rep|
|00005010| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00005020| 6f 20 37 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |o 7.put |empty in|
|00005030| 74 6f 20 63 64 20 66 6c | 64 20 28 22 73 75 62 41 |to cd fl|d ("subA|
|00005040| 6e 64 52 65 63 69 70 65 | 22 26 69 29 20 6f 66 20 |ndRecipe|"&i) of |
|00005050| 63 64 20 63 6f 6e 76 65 | 72 73 69 6f 6e 0d 72 65 |cd conve|rsion.re|
|00005060| 70 65 61 74 20 77 69 74 | 68 20 6a 20 3d 20 31 20 |peat wit|h j = 1 |
|00005070| 74 6f 20 37 0d 70 75 74 | 20 22 62 6c 61 6e 6b 2c |to 7.put| "blank,|
|00005080| 22 26 72 65 74 75 72 6e | 20 61 66 74 65 72 20 63 |"&return| after c|
|00005090| 64 20 66 6c 64 20 28 22 | 73 75 62 41 6e 64 52 65 |d fld ("|subAndRe|
|000050a0| 63 69 70 65 22 26 69 29 | 20 6f 66 20 63 64 20 63 |cipe"&i)| of cd c|
|000050b0| 6f 6e 76 65 72 73 69 6f | 6e 0d 65 6e 64 20 72 65 |onversio|n.end re|
|000050c0| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|000050d0| 0d 68 69 64 65 20 63 64 | 20 62 74 6e 20 22 55 70 |.hide cd| btn "Up|
|000050e0| 64 61 74 65 20 49 6e 64 | 65 78 22 20 6f 66 20 43 |date Ind|ex" of C|
|000050f0| 61 72 64 20 22 49 6e 64 | 65 78 22 0d 67 6f 20 63 |ard "Ind|ex".go c|
|00005100| 61 72 64 20 69 6e 64 65 | 78 0d 73 65 74 20 76 69 |ard inde|x.set vi|
|00005110| 73 69 62 6c 65 20 6f 66 | 20 63 64 20 66 6c 64 20 |sible of| cd fld |
|00005120| 22 69 6e 64 65 78 4c 69 | 73 74 22 20 74 6f 20 74 |"indexLi|st" to t|
|00005130| 72 75 65 0d 73 65 74 20 | 76 69 73 69 62 6c 65 20 |rue.set |visible |
|00005140| 6f 66 20 63 64 20 62 75 | 74 74 6f 6e 20 50 61 72 |of cd bu|tton Par|
|00005150| 61 6d 65 74 65 72 73 20 | 74 6f 20 74 72 75 65 0d |ameters |to true.|
|00005160| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 63 64 20 66 |put "" i|nto cd f|
|00005170| 6c 64 20 22 69 6e 64 65 | 78 4c 69 73 74 22 0d 73 |ld "inde|xList".s|
|00005180| 68 6f 77 20 63 64 20 62 | 74 6e 20 22 55 70 64 61 |how cd b|tn "Upda|
|00005190| 74 65 20 49 6e 64 65 78 | 22 0d 73 65 74 20 75 73 |te Index|".set us|
|000051a0| 65 72 6c 65 76 65 6c 20 | 74 6f 20 32 0d 75 6e 6c |erlevel |to 2.unl|
|000051b0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 63 6c 6f 73 65 |ock scre|en.close|
|000051c0| 20 77 69 6e 64 6f 77 20 | 22 44 65 6c 65 74 69 6e | window |"Deletin|
|000051d0| 67 22 0d 64 6f 6d 65 6e | 75 20 22 43 6f 6d 70 61 |g".domen|u "Compa|
|000051e0| 63 74 20 53 74 61 63 6b | 22 0d 70 6c 61 79 20 62 |ct Stack|".play b|
|000051f0| 6f 69 6e 67 20 22 63 35 | 20 62 34 20 61 22 0d 61 |oing "c5| b4 a".a|
|00005200| 6e 73 77 65 72 20 22 59 | 6f 75 72 20 73 74 61 63 |nswer "Y|our stac|
|00005210| 6b 20 69 73 20 6e 6f 77 | 20 64 65 76 6f 69 64 20 |k is now| devoid |
|00005220| 6f 66 20 72 65 63 69 70 | 65 73 2e 22 20 77 69 74 |of recip|es." wit|
|00005230| 68 20 6f 6b 61 79 0d 65 | 6e 64 20 4d 61 6b 65 56 |h okay.e|nd MakeV|
|00005240| 69 72 67 69 6e 0d 0d 0d | 2d 2d 20 54 68 69 73 20 |irgin...|-- This |
|00005250| 70 72 6f 63 65 64 75 72 | 65 20 70 72 69 6e 74 73 |procedur|e prints|
|00005260| 20 6f 75 74 20 74 68 65 | 20 72 65 63 69 70 65 73 | out the| recipes|
|00005270| 20 6c 69 73 74 65 64 20 | 6f 6e 20 74 68 65 20 69 | listed |on the i|
|00005280| 6e 64 65 78 20 63 61 72 | 64 2e 0d 0d 6f 6e 20 50 |ndex car|d...on P|
|00005290| 72 69 6e 74 49 6e 64 65 | 78 0d 69 66 20 63 64 20 |rintInde|x.if cd |
|000052a0| 66 6c 64 20 22 49 6e 64 | 65 78 4c 69 73 74 22 20 |fld "Ind|exList" |
|000052b0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 6e |is empty| then.an|
|000052c0| 73 77 65 72 20 22 49 6e | 64 65 78 20 69 73 20 65 |swer "In|dex is e|
|000052d0| 6d 70 74 79 2c 20 73 6f | 20 6e 6f 20 72 65 63 69 |mpty, so| no reci|
|000052e0| 70 65 73 20 77 69 6c 6c | 20 62 65 20 70 72 69 6e |pes will| be prin|
|000052f0| 74 65 64 2e 22 0d 65 6c | 73 65 0d 69 66 20 68 69 |ted.".el|se.if hi|
|00005300| 6c 69 74 65 20 6f 66 20 | 63 64 20 62 74 6e 20 22 |lite of |cd btn "|
|00005310| 54 6f 67 65 74 68 65 72 | 22 20 74 68 65 6e 0d 75 |Together|" then.u|
|00005320| 6e 6d 61 72 6b 20 61 6c | 6c 20 63 61 72 64 73 0d |nmark al|l cards.|
|00005330| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00005340| 31 20 74 6f 20 6e 75 6d | 62 65 72 20 6f 66 20 6c |1 to num|ber of l|
|00005350| 69 6e 65 73 20 69 6e 20 | 63 64 20 66 6c 64 20 22 |ines in |cd fld "|
|00005360| 49 6e 64 65 78 4c 69 73 | 74 22 0d 6d 61 72 6b 20 |IndexLis|t".mark |
|00005370| 63 61 72 64 20 69 64 20 | 28 6c 61 73 74 20 77 6f |card id |(last wo|
|00005380| 72 64 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |rd of li|ne i of |
|00005390| 63 64 20 66 6c 64 20 49 | 6e 64 65 78 6c 69 73 74 |cd fld I|ndexlist|
|000053a0| 29 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 6f 70 65 |).end re|peat.ope|
|000053b0| 6e 20 72 65 70 6f 72 74 | 20 70 72 69 6e 74 69 6e |n report| printin|
|000053c0| 67 0d 70 72 69 6e 74 20 | 6d 61 72 6b 65 64 20 63 |g.print |marked c|
|000053d0| 61 72 64 73 0d 63 6c 6f | 73 65 20 70 72 69 6e 74 |ards.clo|se print|
|000053e0| 69 6e 67 0d 0d 65 6c 73 | 65 0d 72 65 70 65 61 74 |ing..els|e.repeat|
|000053f0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00005400| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 69 |umber of| lines i|
|00005410| 6e 20 63 64 20 66 6c 64 | 20 22 49 6e 64 65 78 4c |n cd fld| "IndexL|
|00005420| 69 73 74 22 0d 6f 70 65 | 6e 20 72 65 70 6f 72 74 |ist".ope|n report|
|00005430| 20 70 72 69 6e 74 69 6e | 67 0d 70 72 69 6e 74 20 | printin|g.print |
|00005440| 63 61 72 64 20 69 64 20 | 28 6c 61 73 74 20 77 6f |card id |(last wo|
|00005450| 72 64 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |rd of li|ne i of |
|00005460| 63 64 20 66 6c 64 20 49 | 6e 64 65 78 4c 69 73 74 |cd fld I|ndexList|
|00005470| 29 0d 63 6c 6f 73 65 20 | 70 72 69 6e 74 69 6e 67 |).close |printing|
|00005480| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00005490| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 50 72 |if.end i|f.end Pr|
|000054a0| 69 6e 74 49 6e 64 65 78 | 0d 0d 66 75 6e 63 74 69 |intIndex|..functi|
|000054b0| 6f 6e 20 42 61 64 43 68 | 61 72 52 65 70 6c 61 63 |on BadCh|arReplac|
|000054c0| 65 20 49 6e 70 75 74 57 | 6f 72 64 0d 70 75 74 20 |e InputW|ord.put |
|000054d0| 65 6d 70 74 79 20 69 6e | 74 6f 20 6f 75 74 70 75 |empty in|to outpu|
|000054e0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|000054f0| 3d 20 31 20 74 6f 20 6e | 75 6d 62 65 72 20 6f 66 |= 1 to n|umber of|
|00005500| 20 63 68 61 72 73 20 69 | 6e 20 49 6e 70 75 74 57 | chars i|n InputW|
|00005510| 6f 72 64 0d 69 66 20 63 | 68 61 72 20 69 20 6f 66 |ord.if c|har i of|
|00005520| 20 49 6e 70 75 74 57 6f | 72 64 20 69 73 20 69 6e | InputWo|rd is in|
|00005530| 20 22 3b 2c 5e 21 3c 28 | 2f 22 20 26 20 71 75 6f | ";,^!<(|/" & quo|
|00005540| 74 65 20 26 20 72 65 74 | 75 72 6e 20 74 68 65 6e |te & ret|urn then|
|00005550| 0d 70 75 74 20 22 20 22 | 20 61 66 74 65 72 20 6f |.put " "| after o|
|00005560| 75 74 70 75 74 0d 65 6c | 73 65 0d 70 75 74 20 63 |utput.el|se.put c|
|00005570| 68 61 72 20 69 20 6f 66 | 20 49 6e 70 75 74 57 6f |har i of| InputWo|
|00005580| 72 64 20 61 66 74 65 72 | 20 6f 75 74 70 75 74 0d |rd after| output.|
|00005590| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000055a0| 74 0d 72 65 74 75 72 6e | 20 6f 75 74 70 75 74 0d |t.return| output.|
|000055b0| 65 6e 64 20 42 61 64 43 | 68 61 72 52 65 70 6c 61 |end BadC|harRepla|
|000055c0| 63 65 0d 0d 2d 2d 2d 0d | 2d 2d 2a 2a 2a 2a 20 20 |ce..---.|--**** |
|000055d0| 50 6f 70 55 70 20 4d 65 | 6e 75 20 72 6f 75 74 69 |PopUp Me|nu routi|
|000055e0| 6e 65 73 20 2a 2a 2a 2a | 0d 2d 2d 2d 0d 0d 6f 6e |nes ****|.---..on|
|000055f0| 20 52 65 63 69 70 65 43 | 61 72 64 49 6e 64 65 78 | RecipeC|ardIndex|
|00005600| 42 74 6e 0d 0d 70 75 74 | 20 63 64 20 66 6c 64 20 |Btn..put| cd fld |
|00005610| 4d 61 69 6e 41 6e 64 53 | 75 62 20 6f 66 20 63 64 |MainAndS|ub of cd|
|00005620| 20 63 6f 6e 76 65 72 73 | 69 6f 6e 20 69 6e 74 6f | convers|ion into|
|00005630| 20 63 68 6f 69 63 65 73 | 0d 70 75 74 20 48 50 6f | choices|.put HPo|
|00005640| 70 55 70 4d 65 6e 75 28 | 63 68 6f 69 63 65 73 2c |pUpMenu(|choices,|
|00005650| 20 30 2c 20 74 6f 70 20 | 6f 66 20 62 6b 67 6e 64 | 0, top |of bkgnd|
|00005660| 20 62 74 6e 20 22 69 22 | 20 2b 34 2c 20 6c 65 66 | btn "i"| +4, lef|
|00005670| 74 20 6f 66 20 62 6b 67 | 6e 64 20 62 74 6e 20 22 |t of bkg|nd btn "|
|00005680| 69 22 20 2b 20 31 35 29 | 20 69 6e 74 6f 20 70 6c |i" + 15)| into pl|
|00005690| 61 63 65 0d 69 66 20 70 | 6c 61 63 65 20 69 73 20 |ace.if p|lace is |
|000056a0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 67 65 74 20 74 |empty th|en.get t|
|000056b0| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 0d 69 66 20 69 |he mouse|Loc.if i|
|000056c0| 74 20 69 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |t is wit|hin the |
|000056d0| 72 65 63 74 20 6f 66 20 | 62 6b 67 6e 64 20 62 74 |rect of |bkgnd bt|
|000056e0| 6e 20 22 69 22 20 74 68 | 65 6e 0d 73 65 74 20 63 |n "i" th|en.set c|
|000056f0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 67 6f |ursor to| busy.go|
|00005700| 20 74 6f 20 63 61 72 64 | 20 69 64 20 34 34 34 38 | to card| id 4448|
|00005710| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 69 66 20 |.end if.|else.if |
|00005720| 69 74 65 6d 20 33 20 6f | 66 20 70 6c 61 63 65 20 |item 3 o|f place |
|00005730| 3e 20 30 20 74 68 65 6e | 0d 69 66 20 69 74 65 6d |> 0 then|.if item|
|00005740| 20 33 20 6f 66 20 70 6c | 61 63 65 20 69 73 20 31 | 3 of pl|ace is 1|
|00005750| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 69 74 65 6d | then.go| cd item|
|00005760| 20 32 20 6f 66 20 70 6c | 61 63 65 0d 65 78 69 74 | 2 of pl|ace.exit|
|00005770| 20 52 65 63 69 70 65 43 | 61 72 64 49 6e 64 65 78 | RecipeC|ardIndex|
|00005780| 42 74 6e 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 37 |Btn.end |if.put 7|
|00005790| 20 2a 20 28 28 69 74 65 | 6d 20 33 20 6f 66 20 70 | * ((ite|m 3 of p|
|000057a0| 6c 61 63 65 20 2d 20 32 | 29 29 20 2b 20 69 74 65 |lace - 2|)) + ite|
|000057b0| 6d 20 34 20 6f 66 20 70 | 6c 61 63 65 20 69 6e 74 |m 4 of p|lace int|
|000057c0| 6f 20 43 61 72 64 4e 75 | 6d 62 65 72 0d 69 66 20 |o CardNu|mber.if |
|000057d0| 69 74 65 6d 20 34 20 6f | 66 20 70 6c 61 63 65 20 |item 4 o|f place |
|000057e0| 3d 20 30 20 74 68 65 6e | 20 70 75 74 20 31 20 2b |= 0 then| put 1 +|
|000057f0| 20 43 61 72 64 4e 75 6d | 62 65 72 20 69 6e 74 6f | CardNum|ber into|
|00005800| 20 43 61 72 64 4e 75 6d | 62 65 72 0d 67 6f 20 6c | CardNum|ber.go l|
|00005810| 69 6e 65 20 43 61 72 64 | 4e 75 6d 62 65 72 20 6f |ine Card|Number o|
|00005820| 66 20 63 64 20 66 6c 64 | 20 69 64 73 6f 66 52 65 |f cd fld| idsofRe|
|00005830| 63 69 70 65 20 6f 66 20 | 63 64 20 63 6f 6e 76 65 |cipe of |cd conve|
|00005840| 72 73 69 6f 6e 0d 65 6e | 64 20 69 66 0d 65 6e 64 |rsion.en|d if.end|
|00005850| 20 69 66 0d 65 6e 64 20 | 52 65 63 69 70 65 43 61 | if.end |RecipeCa|
|00005860| 72 64 49 6e 64 65 78 42 | 74 6e 0d 0d 6f 6e 20 55 |rdIndexB|tn..on U|
|00005870| 70 64 61 74 65 53 75 62 | 54 61 62 73 20 54 61 62 |pdateSub|Tabs Tab|
|00005880| 4e 61 6d 65 0d 70 75 74 | 20 62 6b 67 6e 64 20 66 |Name.put| bkgnd f|
|00005890| 6c 64 20 54 61 62 4e 61 | 6d 65 20 69 6e 74 6f 20 |ld TabNa|me into |
|000058a0| 69 74 65 6d 20 28 63 68 | 61 72 20 34 20 6f 66 20 |item (ch|ar 4 of |
|000058b0| 54 61 62 4e 61 6d 65 29 | 20 2b 31 20 6f 66 20 6c |TabName)| +1 of l|
|000058c0| 69 6e 65 20 63 68 61 72 | 20 32 20 6f 66 20 54 61 |ine char| 2 of Ta|
|000058d0| 62 4e 61 6d 65 20 2b 20 | 31 20 6f 66 20 63 64 20 |bName + |1 of cd |
|000058e0| 66 6c 64 20 4d 61 69 6e | 41 6e 64 53 75 62 20 6f |fld Main|AndSub o|
|000058f0| 66 20 63 64 20 63 6f 6e | 76 65 72 73 69 6f 6e 0d |f cd con|version.|
|00005900| 65 6e 64 20 55 70 64 61 | 74 65 53 75 62 54 61 62 |end Upda|teSubTab|
|00005910| 73 0d 0d 6f 6e 20 53 75 | 62 54 61 62 50 6f 70 4d |s..on Su|bTabPopM|
|00005920| 65 6e 75 20 54 61 62 4e | 61 6d 65 0d 69 66 20 74 |enu TabN|ame.if t|
|00005930| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 69 73 20 |he optio|nKey is |
|00005940| 64 6f 77 6e 20 74 68 65 | 6e 0d 61 73 6b 20 22 4e |down the|n.ask "N|
|00005950| 65 77 20 54 61 62 20 4e | 61 6d 65 22 0d 69 66 20 |ew Tab N|ame".if |
|00005960| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00005970| 74 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 0d |t "Cance|l" then.|
|00005980| 70 75 74 20 42 61 64 43 | 68 61 72 52 65 70 6c 61 |put BadC|harRepla|
|00005990| 63 65 28 69 74 29 20 69 | 6e 74 6f 20 69 74 0d 69 |ce(it) i|nto it.i|
|000059a0| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|000059b0| 65 6e 20 70 75 74 20 22 | 62 6c 61 6e 6b 22 20 69 |en put "|blank" i|
|000059c0| 6e 74 6f 20 69 74 0d 70 | 75 74 20 69 74 20 69 6e |nto it.p|ut it in|
|000059d0| 74 6f 20 62 6b 67 6e 64 | 20 66 6c 64 20 54 61 62 |to bkgnd| fld Tab|
|000059e0| 4e 61 6d 65 0d 55 70 64 | 61 74 65 53 75 62 54 61 |Name.Upd|ateSubTa|
|000059f0| 62 73 28 54 61 62 4e 61 | 6d 65 29 0d 65 6e 64 20 |bs(TabNa|me).end |
|00005a00| 69 66 0d 65 6c 73 65 0d | 70 75 74 20 63 68 61 72 |if.else.|put char|
|00005a10| 20 32 20 6f 66 20 54 61 | 62 4e 61 6d 65 20 69 6e | 2 of Ta|bName in|
|00005a20| 74 6f 20 4d 61 69 6e 0d | 70 75 74 20 63 68 61 72 |to Main.|put char|
|00005a30| 20 34 20 6f 66 20 54 61 | 62 4e 61 6d 65 20 69 6e | 4 of Ta|bName in|
|00005a40| 74 6f 20 53 75 62 0d 70 | 75 74 20 6c 69 6e 65 20 |to Sub.p|ut line |
|00005a50| 73 75 62 20 6f 66 20 63 | 64 20 66 6c 64 20 28 22 |sub of c|d fld ("|
|00005a60| 53 75 62 41 6e 64 52 65 | 63 69 70 65 22 26 20 4d |SubAndRe|cipe"& M|
|00005a70| 61 69 6e 29 20 6f 66 20 | 63 64 20 63 6f 6e 76 65 |ain) of |cd conve|
|00005a80| 72 73 69 6f 6e 20 69 6e | 74 6f 20 63 68 6f 69 63 |rsion in|to choic|
|00005a90| 65 73 0d 70 75 74 20 48 | 50 6f 70 55 70 4d 65 6e |es.put H|PopUpMen|
|00005aa0| 75 28 63 68 6f 69 63 65 | 73 2c 20 2d 28 74 68 65 |u(choice|s, -(the|
|00005ab0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00005ac0| 20 69 6e 20 63 68 6f 69 | 63 65 73 29 2c 20 74 6f | in choi|ces), to|
|00005ad0| 70 20 6f 66 20 62 6b 67 | 6e 64 20 62 74 6e 20 54 |p of bkg|nd btn T|
|00005ae0| 61 62 4e 61 6d 65 20 2d | 31 32 2c 20 6c 65 66 74 |abName -|12, left|
|00005af0| 20 6f 66 20 62 6b 67 6e | 64 20 62 74 6e 20 54 61 | of bkgn|d btn Ta|
|00005b00| 62 4e 61 6d 65 2b 34 29 | 20 69 6e 74 6f 20 70 6c |bName+4)| into pl|
|00005b10| 61 63 65 0d 69 66 20 70 | 6c 61 63 65 20 69 73 20 |ace.if p|lace is |
|00005b20| 65 6d 70 74 79 20 74 68 | 65 6e 0d 67 65 74 20 74 |empty th|en.get t|
|00005b30| 68 65 20 6d 6f 75 73 65 | 4c 6f 63 0d 69 66 20 69 |he mouse|Loc.if i|
|00005b40| 74 20 69 73 20 77 69 74 | 68 69 6e 20 74 68 65 20 |t is wit|hin the |
|00005b50| 72 65 63 74 20 6f 66 20 | 62 6b 67 6e 64 20 62 74 |rect of |bkgnd bt|
|00005b60| 6e 20 54 61 62 4e 61 6d | 65 20 74 68 65 6e 0d 73 |n TabNam|e then.s|
|00005b70| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |et curso|r to bus|
|00005b80| 79 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |y.visual| effect |
|00005b90| 73 63 72 6f 6c 6c 20 64 | 6f 77 6e 20 66 61 73 74 |scroll d|own fast|
|00005ba0| 0d 67 6f 20 6c 69 6e 65 | 20 28 37 20 2a 20 28 63 |.go line| (7 * (c|
|00005bb0| 68 61 72 20 32 20 6f 66 | 20 54 61 62 4e 61 6d 65 |har 2 of| TabName|
|00005bc0| 20 2d 31 29 20 2b 20 63 | 68 61 72 20 34 20 6f 66 | -1) + c|har 4 of|
|00005bd0| 20 54 61 62 4e 61 6d 65 | 29 20 6f 66 20 63 64 20 | TabName|) of cd |
|00005be0| 66 6c 64 20 69 64 73 4f | 66 52 65 63 69 70 65 20 |fld idsO|fRecipe |
|00005bf0| 6f 66 20 63 64 20 63 6f | 6e 76 65 72 73 69 6f 6e |of cd co|nversion|
|00005c00| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 69 66 20 |.end if.|else.if |
|00005c10| 69 74 65 6d 20 33 20 6f | 66 20 70 6c 61 63 65 20 |item 3 o|f place |
|00005c20| 3e 20 30 20 74 68 65 6e | 0d 67 6f 20 63 61 72 64 |> 0 then|.go card|
|00005c30| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00005c40| 28 6c 69 6e 65 20 37 2a | 28 4d 61 69 6e 20 2d 20 |(line 7*|(Main - |
|00005c50| 31 29 20 2b 20 73 75 62 | 20 6f 66 20 63 64 20 66 |1) + sub| of cd f|
|00005c60| 6c 64 20 49 44 73 4f 66 | 52 65 63 69 70 65 20 6f |ld IDsOf|Recipe o|
|00005c70| 66 20 63 64 20 63 6f 6e | 76 65 72 73 69 6f 6e 29 |f cd con|version)|
|00005c80| c2 0d 2b 20 69 74 65 6d | 20 33 20 6f 66 20 70 6c |..+ item| 3 of pl|
|00005c90| 61 63 65 20 2d 31 29 0d | 65 6e 64 20 69 66 0d 65 |ace -1).|end if.e|
|00005ca0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00005cb0| 20 53 75 62 54 61 62 50 | 6f 70 4d 65 6e 75 0d 0d | SubTabP|opMenu..|
|00005cc0| 6f 6e 20 4d 61 69 6e 54 | 61 62 50 6f 70 4d 65 6e |on MainT|abPopMen|
|00005cd0| 75 20 54 61 62 4e 61 6d | 65 0d 69 66 20 74 68 65 |u TabNam|e.if the|
|00005ce0| 20 6f 70 74 69 6f 6e 4b | 65 79 20 69 73 20 64 6f | optionK|ey is do|
|00005cf0| 77 6e 20 74 68 65 6e 0d | 61 73 6b 20 22 4e 65 77 |wn then.|ask "New|
|00005d00| 20 54 61 62 20 4e 61 6d | 65 22 0d 69 66 20 74 68 | Tab Nam|e".if th|
|00005d10| 65 20 72 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |e result| is not |
|00005d20| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 0d 70 75 |"Cancel"| then.pu|
|00005d30| 74 20 42 61 64 43 68 61 | 72 52 65 70 6c 61 63 65 |t BadCha|rReplace|
|00005d40| 28 69 74 29 20 69 6e 74 | 6f 20 62 6b 67 6e 64 20 |(it) int|o bkgnd |
|00005d50| 66 69 65 6c 64 20 54 61 | 62 4e 61 6d 65 0d 55 70 |field Ta|bName.Up|
|00005d60| 64 61 74 65 4d 61 69 6e | 54 61 62 73 28 54 61 62 |dateMain|Tabs(Tab|
|00005d70| 4e 61 6d 65 29 0d 65 6e | 64 20 69 66 0d 0d 65 6c |Name).en|d if..el|
|00005d80| 73 65 0d 70 75 74 20 63 | 68 61 72 20 32 20 6f 66 |se.put c|har 2 of|
|00005d90| 20 74 61 62 4e 61 6d 65 | 20 69 6e 74 6f 20 4d 61 | tabName| into Ma|
|00005da0| 69 6e 0d 70 75 74 20 6c | 69 6e 65 20 4d 61 69 6e |in.put l|ine Main|
|00005db0| 20 2b 31 20 6f 66 20 63 | 64 20 66 6c 64 20 4d 61 | +1 of c|d fld Ma|
|00005dc0| 69 6e 41 6e 64 53 75 62 | 20 6f 66 20 63 64 20 63 |inAndSub| of cd c|
|00005dd0| 6f 6e 76 65 72 73 69 6f | 6e 20 69 6e 74 6f 20 63 |onversio|n into c|
|00005de0| 68 6f 69 63 65 73 0d 70 | 75 74 20 22 28 22 20 62 |hoices.p|ut "(" b|
|00005df0| 65 66 6f 72 65 20 66 69 | 72 73 74 20 69 74 65 6d |efore fi|rst item|
|00005e00| 20 6f 66 20 63 68 6f 69 | 63 65 73 0d 70 75 74 20 | of choi|ces.put |
|00005e10| 48 50 6f 70 55 70 4d 65 | 6e 75 28 63 68 6f 69 63 |HPopUpMe|nu(choic|
|00005e20| 65 73 2c 20 73 75 62 2c | 20 74 6f 70 20 6f 66 20 |es, sub,| top of |
|00005e30| 62 6b 67 6e 64 20 62 74 | 6e 20 54 61 62 4e 61 6d |bkgnd bt|n TabNam|
|00005e40| 65 20 2d 35 2c 20 6c 65 | 66 74 20 6f 66 20 62 6b |e -5, le|ft of bk|
|00005e50| 67 6e 64 20 62 74 6e 20 | 54 61 62 4e 61 6d 65 29 |gnd btn |TabName)|
|00005e60| 20 69 6e 74 6f 20 70 6c | 61 63 65 0d 69 66 20 70 | into pl|ace.if p|
|00005e70| 6c 61 63 65 20 69 73 20 | 65 6d 70 74 79 20 74 68 |lace is |empty th|
|00005e80| 65 6e 0d 67 65 74 20 74 | 68 65 20 6d 6f 75 73 65 |en.get t|he mouse|
|00005e90| 4c 6f 63 0d 69 66 20 69 | 74 20 69 73 20 77 69 74 |Loc.if i|t is wit|
|00005ea0| 68 69 6e 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |hin the |rect of |
|00005eb0| 62 6b 67 6e 64 20 62 74 | 6e 20 54 61 62 4e 61 6d |bkgnd bt|n TabNam|
|00005ec0| 65 20 74 68 65 6e 0d 73 | 65 74 20 63 75 72 73 6f |e then.s|et curso|
|00005ed0| 72 20 74 6f 20 62 75 73 | 79 0d 76 69 73 75 61 6c |r to bus|y.visual|
|00005ee0| 20 65 66 66 65 63 74 20 | 73 63 72 6f 6c 6c 20 64 | effect |scroll d|
|00005ef0| 6f 77 6e 20 66 61 73 74 | 0d 67 6f 20 63 61 72 64 |own fast|.go card|
|00005f00| 20 28 22 52 65 63 69 70 | 65 22 26 28 37 2a 28 63 | ("Recip|e"&(7*(c|
|00005f10| 68 61 72 20 32 20 6f 66 | 20 54 61 62 4e 61 6d 65 |har 2 of| TabName|
|00005f20| 2d 31 29 2b 31 29 29 0d | 65 6e 64 20 69 66 0d 65 |-1)+1)).|end if.e|
|00005f30| 6c 73 65 0d 69 66 20 69 | 74 65 6d 20 33 20 6f 66 |lse.if i|tem 3 of|
|00005f40| 20 70 6c 61 63 65 20 3e | 20 30 20 74 68 65 6e 0d | place >| 0 then.|
|00005f50| 67 6f 20 63 64 20 28 22 | 52 65 63 69 70 65 22 20 |go cd ("|Recipe" |
|00005f60| 26 20 28 37 20 2a 20 28 | 6d 61 69 6e 20 2d 31 29 |& (7 * (|main -1)|
|00005f70| 29 20 2b 20 69 74 65 6d | 20 33 20 6f 66 20 70 6c |) + item| 3 of pl|
|00005f80| 61 63 65 20 2d 31 29 0d | 65 6e 64 20 69 66 0d 65 |ace -1).|end if.e|
|00005f90| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 0d 65 6e |nd if.en|d if..en|
|00005fa0| 64 20 4d 61 69 6e 54 61 | 62 50 6f 70 4d 65 6e 75 |d MainTa|bPopMenu|
|00005fb0| 0d 0d 6f 6e 20 55 70 64 | 61 74 65 4d 61 69 6e 54 |..on Upd|ateMainT|
|00005fc0| 61 62 73 20 54 61 62 4e | 61 6d 65 0d 70 75 74 20 |abs TabN|ame.put |
|00005fd0| 62 6b 67 6e 64 20 66 6c | 64 20 54 61 62 4e 61 6d |bkgnd fl|d TabNam|
|00005fe0| 65 20 69 6e 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |e into i|tem 1 of|
|00005ff0| 20 6c 69 6e 65 20 63 68 | 61 72 20 32 20 6f 66 20 | line ch|ar 2 of |
|00006000| 54 61 62 4e 61 6d 65 20 | 2b 31 20 6f 66 20 63 64 |TabName |+1 of cd|
|00006010| 20 66 6c 64 20 4d 61 69 | 6e 41 6e 64 53 75 62 20 | fld Mai|nAndSub |
|00006020| 6f 66 20 63 64 20 43 6f | 6e 76 65 72 73 69 6f 6e |of cd Co|nversion|
|00006030| 0d 65 6e 64 20 55 70 64 | 61 74 65 4d 61 69 6e 54 |.end Upd|ateMainT|
|00006040| 61 62 73 0d 0d 6f 6e 20 | 43 61 72 64 4f 70 65 6e |abs..on |CardOpen|
|00006050| 20 54 61 62 4e 61 6d 65 | 0d 73 65 74 20 74 68 65 | TabName|.set the|
|00006060| 20 74 65 78 74 73 74 79 | 6c 65 20 6f 66 20 62 6b | textsty|le of bk|
|00006070| 67 6e 64 20 66 6c 64 20 | 54 61 62 4e 61 6d 65 20 |gnd fld |TabName |
|00006080| 74 6f 20 75 6e 64 65 72 | 6c 69 6e 65 0d 69 66 20 |to under|line.if |
|00006090| 62 6b 67 6e 64 20 66 6c | 64 20 52 65 63 69 70 65 |bkgnd fl|d Recipe|
|000060a0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 73 | is empt|y then.s|
|000060b0| 65 6c 65 63 74 20 61 66 | 74 65 72 20 74 65 78 74 |elect af|ter text|
|000060c0| 20 6f 66 20 62 6b 67 6e | 64 20 66 6c 64 20 52 65 | of bkgn|d fld Re|
|000060d0| 63 69 70 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |cipe.end| if.end |
|000060e0| 43 61 72 64 4f 70 65 6e | 0d 0d 2d 2d 43 68 65 63 |CardOpen|..--Chec|
|000060f0| 6b 20 74 6f 20 73 65 65 | 20 69 66 20 72 65 63 69 |k to see| if reci|
|00006100| 70 65 20 6e 61 6d 65 20 | 6d 61 74 63 68 65 73 20 |pe name |matches |
|00006110| 74 68 61 74 20 66 6f 75 | 6e 64 20 6f 6e 20 74 68 |that fou|nd on th|
|00006120| 65 20 50 6f 70 4d 65 6e | 75 20 6c 69 73 74 0d 6f |e PopMen|u list.o|
|00006130| 6e 20 43 61 72 64 43 6c | 6f 73 65 20 54 61 62 4e |n CardCl|ose TabN|
|00006140| 61 6d 65 0d 73 65 74 20 | 74 68 65 20 74 65 78 74 |ame.set |the text|
|00006150| 73 74 79 6c 65 20 6f 66 | 20 62 6b 67 6e 64 20 66 |style of| bkgnd f|
|00006160| 6c 64 20 54 61 62 4e 61 | 6d 65 20 74 6f 20 70 6c |ld TabNa|me to pl|
|00006170| 61 69 6e 0d 70 75 74 20 | 62 6b 67 6e 64 20 66 6c |ain.put |bkgnd fl|
|00006180| 64 20 22 52 65 63 69 70 | 65 22 20 69 6e 74 6f 20 |d "Recip|e" into |
|00006190| 43 75 72 72 65 6e 74 52 | 65 63 69 70 65 0d 69 66 |CurrentR|ecipe.if|
|000061a0| 20 43 75 72 72 65 6e 74 | 52 65 63 69 70 65 20 69 | Current|Recipe i|
|000061b0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000061c0| 0d 70 75 74 20 63 68 61 | 72 20 32 20 6f 66 20 54 |.put cha|r 2 of T|
|000061d0| 61 62 4e 61 6d 65 20 69 | 6e 74 6f 20 4d 61 69 6e |abName i|nto Main|
|000061e0| 0d 70 75 74 20 63 68 61 | 72 20 34 20 6f 66 20 54 |.put cha|r 4 of T|
|000061f0| 61 62 4e 61 6d 65 20 69 | 6e 74 6f 20 53 75 62 0d |abName i|nto Sub.|
|00006200| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00006210| 66 20 74 68 69 73 20 63 | 61 72 64 20 2d 20 74 68 |f this c|ard - th|
|00006220| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 28 6c 69 6e |e number| of (lin|
|00006230| 65 20 37 2a 28 4d 61 69 | 6e 2d 31 29 20 2b 20 73 |e 7*(Mai|n-1) + s|
|00006240| 75 62 20 6f 66 20 63 64 | 20 66 6c 64 20 49 44 73 |ub of cd| fld IDs|
|00006250| 4f 66 52 65 63 69 70 65 | 20 6f 66 20 63 64 20 63 |OfRecipe| of cd c|
|00006260| 6f 6e 76 65 72 73 69 6f | 6e 29 20 69 6e 74 6f 20 |onversio|n) into |
|00006270| 46 72 6f 6d 46 69 72 73 | 74 0d 70 75 74 20 69 74 |FromFirs|t.put it|
|00006280| 65 6d 20 46 72 6f 6d 46 | 69 72 73 74 20 2b 20 31 |em FromF|irst + 1|
|00006290| 20 6f 66 20 6c 69 6e 65 | 20 73 75 62 20 6f 66 20 | of line| sub of |
|000062a0| 63 64 20 66 6c 64 20 28 | 22 53 75 62 41 6e 64 52 |cd fld (|"SubAndR|
|000062b0| 65 63 69 70 65 22 26 20 | 4d 61 69 6e 29 20 6f 66 |ecipe"& |Main) of|
|000062c0| 20 63 64 20 63 6f 6e 76 | 65 72 73 69 6f 6e 20 69 | cd conv|ersion i|
|000062d0| 6e 74 6f 20 49 6e 50 6f | 70 4d 65 6e 75 0d 69 66 |nto InPo|pMenu.if|
|000062e0| 20 43 75 72 72 65 6e 74 | 52 65 63 69 70 65 20 3c | Current|Recipe <|
|000062f0| 3e 20 49 6e 50 6f 70 4d | 65 6e 75 20 74 68 65 6e |> InPopM|enu then|
|00006300| 0d 70 75 74 20 42 61 64 | 43 68 61 72 52 65 70 6c |.put Bad|CharRepl|
|00006310| 61 63 65 28 43 75 72 72 | 65 6e 74 52 65 63 69 70 |ace(Curr|entRecip|
|00006320| 65 29 20 69 6e 74 6f 20 | 43 75 72 72 65 6e 74 52 |e) into |CurrentR|
|00006330| 65 63 69 70 65 0d 70 75 | 74 20 43 75 72 72 65 6e |ecipe.pu|t Curren|
|00006340| 74 52 65 63 69 70 65 20 | 69 6e 74 6f 20 62 6b 67 |tRecipe |into bkg|
|00006350| 6e 64 20 66 6c 64 20 22 | 52 65 63 69 70 65 22 0d |nd fld "|Recipe".|
|00006360| 70 75 74 20 43 75 72 72 | 65 6e 74 52 65 63 69 70 |put Curr|entRecip|
|00006370| 65 20 69 6e 74 6f 20 69 | 74 65 6d 20 46 72 6f 6d |e into i|tem From|
|00006380| 46 69 72 73 74 20 2b 20 | 31 20 20 6f 66 20 6c 69 |First + |1 of li|
|00006390| 6e 65 20 73 75 62 20 6f | 66 20 63 64 20 66 6c 64 |ne sub o|f cd fld|
|000063a0| 20 28 22 53 75 62 41 6e | 64 52 65 63 69 70 65 22 | ("SubAn|dRecipe"|
|000063b0| 26 20 4d 61 69 6e 29 20 | 6f 66 20 63 64 20 63 6f |& Main) |of cd co|
|000063c0| 6e 76 65 72 73 69 6f 6e | 0d 65 6e 64 20 69 66 0d |nversion|.end if.|
|000063d0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 43 61 72 64 43 |end if.e|nd CardC|
|000063e0| 6c 6f 73 65 0d 0d 2d 2d | 43 61 6c 6c 65 64 20 77 |lose..--|Called w|
|000063f0| 68 65 6e 20 61 20 72 65 | 63 69 70 65 20 69 73 20 |hen a re|cipe is |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.